[131813] trunk/dports/devel/libunwind/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Jan 19 01:08:42 PST 2015


Revision: 131813
          https://trac.macports.org/changeset/131813
Author:   jeremyhu at macports.org
Date:     2015-01-19 01:08:42 -0800 (Mon, 19 Jan 2015)
Log Message:
-----------
libunwind: Adjust check from OS version to Xcode version

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

Modified: trunk/dports/devel/libunwind/Portfile
===================================================================
--- trunk/dports/devel/libunwind/Portfile	2015-01-19 08:47:02 UTC (rev 131812)
+++ trunk/dports/devel/libunwind/Portfile	2015-01-19 09:08:42 UTC (rev 131813)
@@ -106,9 +106,9 @@
         RC_ARCHS="[get_canonical_archs]" \
         LIBUNWIND_CURRENT_VERSION=${version}
 
-    if {${os.major} < 10} {
-        # Xcode 2.5 fails
-        depends_build port:cctools
+    if {[vercmp $xcodeversion 3.2] < 0 && [string match "*macports*" ${configure.compiler}]} {
+        # Xcode 3.1.4 fails with load commands in the newer toolchain
+        depends_build-append port:cctools
 
         build.args-append \
             AR=${prefix}/bin/ar \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150119/5fc5066c/attachment.html>


More information about the macports-changes mailing list