[52149] trunk/dports/x11/xorg-xcb-proto/Portfile

blb at macports.org blb at macports.org
Thu Jun 11 01:32:04 PDT 2009


Revision: 52149
          http://trac.macports.org/changeset/52149
Author:   blb at macports.org
Date:     2009-06-11 01:32:02 -0700 (Thu, 11 Jun 2009)
Log Message:
-----------
x11/xorg-xcb-proto - fix +python26 variant so it installs the modules in the correct location; remove +python30 variant as the configure script uses string.split which is gone in python 3.0

Modified Paths:
--------------
    trunk/dports/x11/xorg-xcb-proto/Portfile

Modified: trunk/dports/x11/xorg-xcb-proto/Portfile
===================================================================
--- trunk/dports/x11/xorg-xcb-proto/Portfile	2009-06-11 07:51:08 UTC (rev 52148)
+++ trunk/dports/x11/xorg-xcb-proto/Portfile	2009-06-11 08:32:02 UTC (rev 52149)
@@ -4,6 +4,7 @@
 
 name		xorg-xcb-proto
 version		1.5
+revision	1
 categories	x11 devel
 maintainers	jeremyhu openmaintainer
 description	X.org xcb-proto
@@ -22,23 +23,19 @@
 
 depends_run     port:libxml2
 
-variant python25 conflicts python26 python30 description {Use python 2.5 for xcbgen} {
+variant python25 conflicts python26 description {Use python 2.5 for xcbgen} {
     depends_run-append      port:python25
     configure.python        ${prefix}/bin/python2.5
 }
 
-variant python26 conflicts python25 python30 description {Use python 2.6 for xcbgen} {
+variant python26 conflicts python25 description {Use python 2.6 for xcbgen} {
     depends_run-append      port:python26
     configure.python        ${prefix}/bin/python2.6
+    destroot.target-append  pythondir=${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages
 }
 
-variant python30 conflicts python25 python26 description {Use python 3.0 for xcbgen} {
-    depends_run-append      port:python30
-    configure.python        ${prefix}/bin/python3.0
-}
-
 # Default to 2.6 since 2.5 fails universal for me on Leopard... Ticket #17501
-if {![variant_isset python25] && ![variant_isset python30]} {
+if {![variant_isset python25]} {
     default_variants +python26
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090611/a6c9d4f7/attachment-0001.html>


More information about the macports-changes mailing list