[127048] trunk/dports/devel/gmp/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sun Oct 19 17:33:10 PDT 2014
Revision: 127048
https://trac.macports.org/changeset/127048
Author: mcalhoun at macports.org
Date: 2014-10-19 17:33:10 -0700 (Sun, 19 Oct 2014)
Log Message:
-----------
gmp: Ensure that /usr/bin/awk is used and not gawk, nawk, etc. Fixes #43773.
No revision bump required because gmp compiles correctly or not at all.
Modified Paths:
--------------
trunk/dports/devel/gmp/Portfile
Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- trunk/dports/devel/gmp/Portfile 2014-10-19 23:47:32 UTC (rev 127047)
+++ trunk/dports/devel/gmp/Portfile 2014-10-20 00:33:10 UTC (rev 127048)
@@ -47,6 +47,11 @@
configure.universal_args-delete --disable-dependency-tracking
+# The gmp configure script looks for gawk, mawk, nawk, then awk last.
+# Search for /usr/bin/awk first.
+# nawk, at least, fails (see #43773).
+configure.env-append AWK=/usr/bin/awk
+
# Clear all options that affect CFLAGS and CXXFLAGS, since the configure
# script tries to build the fastest library for the build machine if
# CFLAGS and CXXFLAGS are undefined.
@@ -80,7 +85,7 @@
if {![variant_isset universal]} {
if {${build_arch} eq "x86_64"} {
- configure.env ABI=64
+ configure.env-append ABI=64
# Newer processors may not be detected correctly.
pre-configure {
set build_triplet [split [exec /usr/bin/env CC=${configure.cc} ${worksrcpath}/config.guess] -]
@@ -91,9 +96,9 @@
}
}
} elseif {${build_arch} eq "ppc64"} {
- configure.env ABI=mode64
+ configure.env-append ABI=mode64
} else {
- configure.env ABI=32
+ configure.env-append ABI=32
}
} else {
# Keep configure.cflags and configure.cxxflags empty.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141019/49d56001/attachment.html>
More information about the macports-changes
mailing list