[69442] trunk/dports/lang
jmr at macports.org
jmr at macports.org
Tue Jul 6 02:37:43 PDT 2010
Revision: 69442
http://trac.macports.org/changeset/69442
Author: jmr at macports.org
Date: 2010-07-06 02:37:41 -0700 (Tue, 06 Jul 2010)
Log Message:
-----------
python27, python31: use configure.sdkroot, remove 1.8 compat checks
Modified Paths:
--------------
trunk/dports/lang/python27/Portfile
trunk/dports/lang/python31/Portfile
Modified: trunk/dports/lang/python27/Portfile
===================================================================
--- trunk/dports/lang/python27/Portfile 2010-07-06 09:30:21 UTC (rev 69441)
+++ trunk/dports/lang/python27/Portfile 2010-07-06 09:37:41 UTC (rev 69442)
@@ -155,8 +155,8 @@
${worksrcpath}/configure
}
}
- if {${macosx_version} == "10.4" && ${os.arch} == "powerpc"} {
- configure.args-append --enable-universalsdk=${developer_dir}/SDKs/MacOSX10.4u.sdk
+ if {${configure.sdkroot} != ""} {
+ configure.args-append --enable-universalsdk=${configure.sdkroot}
} else {
configure.args-append --enable-universalsdk=/
}
Modified: trunk/dports/lang/python31/Portfile
===================================================================
--- trunk/dports/lang/python31/Portfile 2010-07-06 09:30:21 UTC (rev 69441)
+++ trunk/dports/lang/python31/Portfile 2010-07-06 09:37:41 UTC (rev 69442)
@@ -33,11 +33,9 @@
patch-Lib-distutils-dist.py.diff
if {![variant_isset universal]} {
patchfiles-append patch-configure-arch_only.diff
- if {[info exists configure.ld_archflags]} {
- # -arch ends up getting passed to libtool which doesn't understand it, so we
- # just clear it since this port doesn't respect build_arch anyway
- configure.ld_archflags
- }
+ # -arch ends up getting passed to libtool which doesn't understand it, so we
+ # just clear it since this port doesn't respect build_arch anyway
+ configure.ld_archflags
}
depends_lib port:zlib port:openssl port:tk \
@@ -151,10 +149,8 @@
${worksrcpath}/configure
}
}
- if {[info exists configure.sdkroot] && ${configure.sdkroot} != ""} {
+ if {${configure.sdkroot} != ""} {
configure.args-append --enable-universalsdk=${configure.sdkroot}
- } elseif {${macosx_version} == "10.4" && ${os.arch} == "powerpc"} {
- configure.args-append --enable-universalsdk=${developer_dir}/SDKs/MacOSX10.4u.sdk
} else {
configure.args-append --enable-universalsdk=/
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100706/acd95abd/attachment.html>
More information about the macports-changes
mailing list