[72221] trunk/dports/python
michaelld at macports.org
michaelld at macports.org
Thu Oct 7 11:40:55 PDT 2010
Revision: 72221
http://trac.macports.org/changeset/72221
Author: michaelld at macports.org
Date: 2010-10-07 11:40:53 -0700 (Thu, 07 Oct 2010)
Log Message:
-----------
Addresses ticket #21590: corrects +universal variant.
Modified Paths:
--------------
trunk/dports/python/py25-sip/Portfile
trunk/dports/python/py26-sip/Portfile
trunk/dports/python/py27-sip/Portfile
Modified: trunk/dports/python/py25-sip/Portfile
===================================================================
--- trunk/dports/python/py25-sip/Portfile 2010-10-07 18:04:16 UTC (rev 72220)
+++ trunk/dports/python/py25-sip/Portfile 2010-10-07 18:40:53 UTC (rev 72221)
@@ -5,6 +5,7 @@
name py25-sip
version 4.11.1
+revision 1
categories python devel
maintainers saispo openmaintainer
platforms macosx
@@ -46,6 +47,14 @@
${worksrcpath}/specs/macx-g++
}
+variant universal {
+ configure.universal_args
+ configure.post_args LFLAGS="-F${frameworks_dir} -L${prefix}/lib \
+ ${configure.universal_ldflags}"
+ configure.post_args-append CFLAGS="${configure.universal_cflags}"
+ configure.post_args-append CXXFLAGS="${configure.universal_cxxflags}"
+}
+
configure.pre_args -d ${prefix}/lib/python2.5/site-packages \
-e ${prefix}/include/python2.5 \
-v ${prefix}/share/sip \
Modified: trunk/dports/python/py26-sip/Portfile
===================================================================
--- trunk/dports/python/py26-sip/Portfile 2010-10-07 18:04:16 UTC (rev 72220)
+++ trunk/dports/python/py26-sip/Portfile 2010-10-07 18:40:53 UTC (rev 72221)
@@ -5,6 +5,7 @@
name py26-sip
version 4.11.1
+revision 1
categories python devel
maintainers mcalhoun openmaintainer
platforms macosx
@@ -46,6 +47,14 @@
${worksrcpath}/specs/macx-g++
}
+variant universal {
+ configure.universal_args
+ configure.post_args LFLAGS="-F${frameworks_dir} -L${prefix}/lib \
+ ${configure.universal_ldflags}"
+ configure.post_args-append CFLAGS="${configure.universal_cflags}"
+ configure.post_args-append CXXFLAGS="${configure.universal_cxxflags}"
+}
+
# By default, everything gets installed in the Python Frameworks directory
configure.pre_args-delete --prefix=${prefix}
Modified: trunk/dports/python/py27-sip/Portfile
===================================================================
--- trunk/dports/python/py27-sip/Portfile 2010-10-07 18:04:16 UTC (rev 72220)
+++ trunk/dports/python/py27-sip/Portfile 2010-10-07 18:40:53 UTC (rev 72221)
@@ -5,6 +5,7 @@
name py27-sip
version 4.11.1
+revision 1
categories python devel
maintainers nomaintainer
platforms macosx
@@ -46,6 +47,14 @@
${worksrcpath}/specs/macx-g++
}
+variant universal {
+ configure.universal_args
+ configure.post_args LFLAGS="-F${frameworks_dir} -L${prefix}/lib \
+ ${configure.universal_ldflags}"
+ configure.post_args-append CFLAGS="${configure.universal_cflags}"
+ configure.post_args-append CXXFLAGS="${configure.universal_cxxflags}"
+}
+
# By default, everything gets installed in the Python Frameworks directory
configure.pre_args-delete --prefix=${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101007/53d0d9fd/attachment.html>
More information about the macports-changes
mailing list