[79299] trunk/dports/x11/mesa/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Jun 8 08:16:56 PDT 2011
Revision: 79299
http://trac.macports.org/changeset/79299
Author: jeremyhu at macports.org
Date: 2011-06-08 08:16:55 -0700 (Wed, 08 Jun 2011)
Log Message:
-----------
mesa: Add dependency on python for parsing spec files #29737
Modified Paths:
--------------
trunk/dports/x11/mesa/Portfile
Modified: trunk/dports/x11/mesa/Portfile
===================================================================
--- trunk/dports/x11/mesa/Portfile 2011-06-08 15:04:00 UTC (rev 79298)
+++ trunk/dports/x11/mesa/Portfile 2011-06-08 15:16:55 UTC (rev 79299)
@@ -114,6 +114,24 @@
patchfiles-append mesa-7.10.2-iglx.patch
}
+variant python26 conflicts python27 description {Use python 2.6} {
+ depends_build-append \
+ port:py26-libxml2
+ build.args-append \
+ PYTHON2="${prefix}/bin/python2.6"
+}
+
+variant python27 conflicts python26 description {Use python 2.7} {
+ depends_build-append \
+ port:py27-libxml2
+ build.args-append \
+ PYTHON2="${prefix}/bin/python2.7"
+}
+
+if {![variant_isset python26] && ![variant_isset python27]} {
+ default_variants +python27
+}
+
platform darwin 8 {
patchfiles-append patch-Mesa_7.6-src-glu-sgi-glu.exports.darwin.diff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110608/f0e07078/attachment.html>
More information about the macports-changes
mailing list