[83163] trunk/dports/databases/tinycdb/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 26 12:18:50 PDT 2011
Revision: 83163
http://trac.macports.org/changeset/83163
Author: ryandesign at macports.org
Date: 2011-08-26 12:18:50 -0700 (Fri, 26 Aug 2011)
Log Message:
-----------
tinycdb: simplify setting archflags; see #30806
Modified Paths:
--------------
trunk/dports/databases/tinycdb/Portfile
Modified: trunk/dports/databases/tinycdb/Portfile
===================================================================
--- trunk/dports/databases/tinycdb/Portfile 2011-08-26 19:17:26 UTC (rev 83162)
+++ trunk/dports/databases/tinycdb/Portfile 2011-08-26 19:18:50 UTC (rev 83163)
@@ -21,13 +21,8 @@
use_configure no
variant universal {}
-if {[variant_isset universal]} {
- set archflags ${configure.universal_cflags}
-} else {
- set archflags ${configure.cc_archflags}
-}
build.args CC="${configure.cc}" \
- CFLAGS="${configure.cflags} ${archflags}"
+ CFLAGS="${configure.cflags} [get_canonical_archflags]"
destroot.args-append prefix=${prefix} mandir=${prefix}/share/man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110826/3d4a6f7a/attachment.html>
More information about the macports-changes
mailing list