[118841] trunk/dports/devel/gmp/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sat Apr 12 05:46:34 PDT 2014
Revision: 118841
https://trac.macports.org/changeset/118841
Author: mcalhoun at macports.org
Date: 2014-04-12 05:46:34 -0700 (Sat, 12 Apr 2014)
Log Message:
-----------
Allow gmp to build correctly if configure.sdkroot is set.
No revision bump because gmp either builds correctly or not at all.
Fixes #43262.
Modified Paths:
--------------
trunk/dports/devel/gmp/Portfile
Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile 2014-04-12 00:37:23 UTC (rev 118840)
+++ trunk/dports/devel/gmp/Portfile 2014-04-12 12:46:34 UTC (rev 118841)
@@ -59,6 +59,14 @@
configure.cxx-append -stdlib=${configure.cxx_stdlib}
configure.cxx_stdlib
}
+
+# See #43262
+if {${configure.sdkroot} ne ""} {
+ configure.cc-append -isysroot${configure.sdkroot}
+ configure.cxx-append -isysroot${configure.sdkroot}
+ configure.sdkroot
+}
+
configure.cc_archflags
configure.cxx_archflags
configure.ld_archflags
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140412/7ef01285/attachment.html>
More information about the macports-changes
mailing list