[94735] trunk/dports/shells/osh/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Jun 27 16:39:23 PDT 2012
Revision: 94735
https://trac.macports.org/changeset/94735
Author: ryandesign at macports.org
Date: 2012-06-27 16:39:23 -0700 (Wed, 27 Jun 2012)
Log Message:
-----------
osh: ensure we're UsingTheRightCompiler and -arch flags (#34922)
Modified Paths:
--------------
trunk/dports/shells/osh/Portfile
Modified: trunk/dports/shells/osh/Portfile
===================================================================
--- trunk/dports/shells/osh/Portfile 2012-06-27 23:06:11 UTC (rev 94734)
+++ trunk/dports/shells/osh/Portfile 2012-06-27 23:39:23 UTC (rev 94735)
@@ -28,14 +28,18 @@
build.args PREFIX=${prefix}
+# Ensure use of the correct build utilities.
+build.args-append CC=${configure.cc} CPP=${configure.cpp}
+
+variant universal {}
+
+# Ensure use of the correct build_arch.
+build.args-append CFLAGS="[get_canonical_archflags cc]" \
+ LDFLAGS="[get_canonical_archflags ld]"
+
destroot.args PREFIX=${prefix}
destroot.target install install-doc install-exp
-variant universal {
- build.args-append CFLAGS="${configure.universal_cflags}" \
- LDFLAGS="${configure.universal_ldflags}"
-}
-
livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${name}-(\\d{8})${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120627/6340258e/attachment.html>
More information about the macports-changes
mailing list