From 000bb9bd2ec344aabfb84f0be76fc8da2bcf36ab Mon Sep 17 00:00:00 2001 From: "Dan R. K. Ports" Date: Tue, 2 Jun 2026 12:47:16 -0700 Subject: [PATCH] biblatex-biber-ms: fix registry_deactivate hack --- tex/biblatex-biber-ms/Portfile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tex/biblatex-biber-ms/Portfile b/tex/biblatex-biber-ms/Portfile index 0deed44b1fa..5c95f146bf3 100644 --- a/tex/biblatex-biber-ms/Portfile +++ b/tex/biblatex-biber-ms/Portfile @@ -127,10 +127,14 @@ post-destroot { pre-activate { # Avoid conflict with texlive-bibtex-extra which used to list # biber-ms in texlive.binaries. - if {![catch {set vers [lindex [registry_active texlive-bibtex-extra] 0]}] - && [vercmp [lindex $vers 2] 1] < 0} { - registry_deactivate_composite texlive-bibtex-extra "" \ - [list ports_nodepcheck 1] + if {![catch {set vers [lindex [registry_active texlive-bibtex-extra] 0]}]} { + set v [lindex $vers 1] + set r [lindex $vers 2] + if {[vercmp $v 78219] < 0 + || ([vercmp $v 78219] == 0 && [vercmp $r 1] < 0)} { + registry_deactivate_composite texlive-bibtex-extra "" \ + [list ports_nodepcheck 1] + } } }