[127773] trunk/dports/sysutils/rmtrash/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Nov 3 12:38:48 PST 2014
Revision: 127773
https://trac.macports.org/changeset/127773
Author: ryandesign at macports.org
Date: 2014-11-03 12:38:48 -0800 (Mon, 03 Nov 2014)
Log Message:
-----------
rmtrash: ensure we're UsingTheRightCompiler (#45757) and fix/simplify handling of -arch flags
Modified Paths:
--------------
trunk/dports/sysutils/rmtrash/Portfile
Modified: trunk/dports/sysutils/rmtrash/Portfile
===================================================================
--- trunk/dports/sysutils/rmtrash/Portfile 2014-11-03 20:36:01 UTC (rev 127772)
+++ trunk/dports/sysutils/rmtrash/Portfile 2014-11-03 20:38:48 UTC (rev 127773)
@@ -29,13 +29,13 @@
use_configure no
-build.args CFLAGS="${configure.cflags}" LDFLAGS="-framework Foundation"
+variant universal {}
+build.args CC="${configure.cc}" \
+ CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+ LDFLAGS="-framework Foundation [get_canonical_archflags ld]"
+
destroot.destdir DESTDIR=${destroot}${prefix}
-variant universal {
- build.args CFLAGS="${configure.cflags} ${configure.universal_cflags}" LDFLAGS="-framework Foundation"
-}
-
livecheck.type regex
livecheck.regex {/rmtrash.tar.gz.*\(v([0-9.]+)\)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141103/f2c42615/attachment.html>
More information about the macports-changes
mailing list