[84076] trunk/dports/science/root/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Sep 15 23:24:54 PDT 2011


Revision: 84076
          http://trac.macports.org/changeset/84076
Author:   ryandesign at macports.org
Date:     2011-09-15 23:24:53 -0700 (Thu, 15 Sep 2011)
Log Message:
-----------
root: fix python variants; see #31247

Modified Paths:
--------------
    trunk/dports/science/root/Portfile

Modified: trunk/dports/science/root/Portfile
===================================================================
--- trunk/dports/science/root/Portfile	2011-09-16 06:24:16 UTC (rev 84075)
+++ trunk/dports/science/root/Portfile	2011-09-16 06:24:53 UTC (rev 84076)
@@ -151,8 +151,8 @@
 variant python26 conflicts python27 description {Builds port with python 2.6 support} {
     configure.args-delete   --disable-python
     configure.args-append   --enable-python \
-                            --with-python-incdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6" \
-                            --with-python-libdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config"
+                            --with-python-incdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.6/Headers" \
+                            --with-python-libdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.6"
     depends_lib-append      port:python26
     
     post-destroot {
@@ -169,8 +169,8 @@
 variant python27 conflicts python26 description {Builds port with python 2.7 support} {
     configure.args-delete   --disable-python
     configure.args-append   --enable-python \
-                            --with-python-incdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7" \
-                            --with-python-libdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config"
+                            --with-python-incdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.7/Headers" \
+                            --with-python-libdir="${prefix}/Library/Frameworks/Python.framework/Versions/2.7"
     depends_lib-append      port:python27
     
     post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110915/02599c25/attachment.html>


More information about the macports-changes mailing list