[73240] users/dports/ports/tex/texlive-math-extra/Portfile
dports at macports.org
dports at macports.org
Sun Nov 7 01:10:13 PDT 2010
Revision: 73240
http://trac.macports.org/changeset/73240
Author: dports at macports.org
Date: 2010-11-07 01:10:08 -0700 (Sun, 07 Nov 2010)
Log Message:
-----------
texlive-math-extra: deactivate texlive-latex-extra if a TL2009 version
is installed to avoid conflict on binomexp (cf. r73177)
Revision Links:
--------------
http://trac.macports.org/changeset/73177
Modified Paths:
--------------
users/dports/ports/tex/texlive-math-extra/Portfile
Modified: users/dports/ports/tex/texlive-math-extra/Portfile
===================================================================
--- users/dports/ports/tex/texlive-math-extra/Portfile 2010-11-07 07:53:03 UTC (rev 73239)
+++ users/dports/ports/tex/texlive-math-extra/Portfile 2010-11-07 08:10:08 UTC (rev 73240)
@@ -26,5 +26,12 @@
{MixedMap stmaryrd.map} \
{MixedMap yhmath.map}
+pre-activate {
+ # binomexp moved from texlive-latex-extra to texlive-math-extra in TL2010
+ if {![catch {set vers [lindex [registry_active texlive-latex-extra] 0]}]
+ && [rpm-vercomp [lindex $vers 1] 19538] < 0} {
+ registry_deactivate texlive-latex-extra "" [list ports_nodepcheck 1]
+ }
+}
texlive.texmfport
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101107/cbae96f6/attachment.html>
More information about the macports-changes
mailing list