[131418] trunk/dports/devel/ld64/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Jan 11 15:03:10 PST 2015
Revision: 131418
https://trac.macports.org/changeset/131418
Author: jeremyhu at macports.org
Date: 2015-01-11 15:03:10 -0800 (Sun, 11 Jan 2015)
Log Message:
-----------
ld64: Fix potential build failure reported in #46521
Modified Paths:
--------------
trunk/dports/devel/ld64/Portfile
Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile 2015-01-11 23:02:41 UTC (rev 131417)
+++ trunk/dports/devel/ld64/Portfile 2015-01-11 23:03:10 UTC (rev 131418)
@@ -72,15 +72,12 @@
set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
}
-if {${os.major} < 10} {
+if {${os.major} < 20} {
# Leopard and earlier didn't have libunwind.h in the SDK
- depends_build-append path:include/libunwind.h:libunwind-headers
-
- # Allow build to find libunwind-headers' contents (#45637).
- configure.cppflags-append -I${prefix}/Developer/SDKs/Darwin${os.major}.sdk/usr/include
+ depends_build-append path:libunwind/DwarfInstructions.hpp:libunwind-headers
}
-if {${os.arch} eq "powerpc" || ${os.major} < 9} {
+if {${os.arch} eq "powerpc" || ${os.major} < 50} {
# XCode 3.2.6
# 127.2 should work for powerpc, but it will require some build fixes.
version 97.17
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150111/d779543e/attachment.html>
More information about the macports-changes
mailing list