[96770] trunk/dports/archivers/bzip2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Aug 18 17:21:52 PDT 2012
Revision: 96770
https://trac.macports.org/changeset/96770
Author: ryandesign at macports.org
Date: 2012-08-18 17:21:50 -0700 (Sat, 18 Aug 2012)
Log Message:
-----------
bzip2: simplify getting -arch flags
Modified Paths:
--------------
trunk/dports/archivers/bzip2/Portfile
Modified: trunk/dports/archivers/bzip2/Portfile
===================================================================
--- trunk/dports/archivers/bzip2/Portfile 2012-08-19 00:07:39 UTC (rev 96769)
+++ trunk/dports/archivers/bzip2/Portfile 2012-08-19 00:21:50 UTC (rev 96770)
@@ -31,12 +31,8 @@
use_parallel_build yes
variant universal {}
-if {[variant_isset universal]} {
- set my_archflags ${configure.universal_cflags}
-} else {
- set my_archflags ${configure.cc_archflags}
-}
-build.args CC="${configure.cc} ${my_archflags}" \
+
+build.args CC="${configure.cc} [get_canonical_archflags cc]" \
PREFIX=${prefix}
destroot.destdir PREFIX=${destroot}${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120818/7b2488ec/attachment.html>
More information about the macports-changes
mailing list