Revision
74766
Author
dports@macports.org
Date
2011-01-01 17:09:35 -0800 (Sat, 01 Jan 2011)

Log Message

texlive-basic: deactivate 2009 version of texlive-lang-mongolian if
it's installed; its hyphenation references a file that no longer
exists, causing format generation to fail (see #27339)

Modified Paths

Diff

Modified: trunk/dports/tex/texlive-basic/Portfile (74765 => 74766)


--- trunk/dports/tex/texlive-basic/Portfile	2011-01-02 00:10:09 UTC (rev 74765)
+++ trunk/dports/tex/texlive-basic/Portfile	2011-01-02 01:09:35 UTC (rev 74766)
@@ -6,7 +6,7 @@
 
 name                texlive-basic
 version             17228
-revision            1
+revision            2
 
 categories          tex
 maintainers         dports
@@ -68,6 +68,16 @@
         && [rpm-vercomp [lindex $vers 1] 16392] < 0} {
         registry_deactivate texlive-fontutils "" [list ports_nodepcheck 1]
     }
+
+    # Deactivate 2009 version of texlive-lang-mongolian if it's
+    # installed; its hyphenation references a file that no longer
+    # exists, causing format generation to fail (see #27339)
+    if {![catch {set vers [lindex [registry_active texlive-lang-mongolian] 0]}]
+         && [rpm-vercomp [lindex $vers 1] 14727] == 0
+         && [lindex $vers 2] < 2} {
+        registry_deactivate texlive-lang-mongolian "" [list ports_nodepcheck 1]
+    }
+
 }
 
 texlive.forceupdatecnf yes