[125797] trunk/dports/devel/ld64/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Sep 26 10:26:39 PDT 2014


Revision: 125797
          https://trac.macports.org/changeset/125797
Author:   jeremyhu at macports.org
Date:     2014-09-26 10:26:39 -0700 (Fri, 26 Sep 2014)
Log Message:
-----------
ld64: Fix a build failure on Leopard

Modified Paths:
--------------
    trunk/dports/devel/ld64/Portfile

Modified: trunk/dports/devel/ld64/Portfile
===================================================================
--- trunk/dports/devel/ld64/Portfile	2014-09-26 16:41:05 UTC (rev 125796)
+++ trunk/dports/devel/ld64/Portfile	2014-09-26 17:26:39 UTC (rev 125797)
@@ -95,6 +95,11 @@
     set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
 }
 
+if {${os.major} < 10}} {
+    # Leopard and earlier didn't have libunwind.h in the SDK
+    depends_build-append    path:include/libunwind.h:libunwind-headers
+}
+
 if {${os.arch} eq "powerpc" || ${os.major} < 9} {
     # XCode 3.2.6
     # 127.2 should work for powerpc, but it will require some build fixes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140926/c3db2e48/attachment.html>


More information about the macports-changes mailing list