[100560] trunk/dports/devel/class-dump/Portfile
landonf at macports.org
landonf at macports.org
Sat Dec 15 07:13:02 PST 2012
Revision: 100560
https://trac.macports.org/changeset/100560
Author: landonf at macports.org
Date: 2012-12-15 07:13:02 -0800 (Sat, 15 Dec 2012)
Log Message:
-----------
Fix build on Mac OS X 10.7; the build must be done against the 10.8 SDK. The 3.4 release of class-dump also bumps the minimum supported OS version to 10.7.
Modified Paths:
--------------
trunk/dports/devel/class-dump/Portfile
Modified: trunk/dports/devel/class-dump/Portfile
===================================================================
--- trunk/dports/devel/class-dump/Portfile 2012-12-15 14:10:44 UTC (rev 100559)
+++ trunk/dports/devel/class-dump/Portfile 2012-12-15 15:13:02 UTC (rev 100560)
@@ -23,14 +23,18 @@
worksrcdir ${distname}/src
+# 3.4+ must be built against the 10.8 SDK, as it requires LC_* constants
+# and other definitions unavailable in earlier SDKs. It will, however,
+# run against 10.7+.
+configure.sdkroot "[exec xcode-select -print-path]/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"
xcode.target all
xcode.configuration Release
xcode.destroot.path ${prefix}/bin
-if {${os.major} < 9} {
+if {${os.major} < 11} {
pre-fetch {
- return -code error "$name requires Mac OS X 10.5 or later."
+ return -code error "$name requires Mac OS X 10.7 or later."
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121215/dff58478/attachment.html>
More information about the macports-changes
mailing list