[82567] trunk/dports/archivers/arj/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 15 13:38:49 PDT 2011


Revision: 82567
          http://trac.macports.org/changeset/82567
Author:   ryandesign at macports.org
Date:     2011-08-15 13:38:48 -0700 (Mon, 15 Aug 2011)
Log Message:
-----------
arj: simplify setting archflags

Modified Paths:
--------------
    trunk/dports/archivers/arj/Portfile

Modified: trunk/dports/archivers/arj/Portfile
===================================================================
--- trunk/dports/archivers/arj/Portfile	2011-08-15 20:37:52 UTC (rev 82566)
+++ trunk/dports/archivers/arj/Portfile	2011-08-15 20:38:48 UTC (rev 82567)
@@ -49,14 +49,8 @@
     reinplace {s|-o$@|-o $@|g} ${worksrcpath}/gnu/makefile.in
 }
 
-if {[variant_isset universal]} {
-    set archflags ${configure.universal_cflags}
-} else {
-    set archflags ${configure.cc_archflags}
-}
-
 build.target        prepare all
-build.args          CC="${configure.cc} ${archflags}"
+build.args          CC="${configure.cc} [get_canonical_archflags]"
 
 livecheck.type      regex
 livecheck.url       ${homepage}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110815/6cd2db84/attachment.html>


More information about the macports-changes mailing list