[68755] trunk/dports/archivers/arc/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Jun 12 10:08:21 PDT 2010


Revision: 68755
          http://trac.macports.org/changeset/68755
Author:   ryandesign at macports.org
Date:     2010-06-12 10:08:18 -0700 (Sat, 12 Jun 2010)
Log Message:
-----------
arc: support changing build_arch

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

Modified: trunk/dports/archivers/arc/Portfile
===================================================================
--- trunk/dports/archivers/arc/Portfile	2010-06-12 17:06:25 UTC (rev 68754)
+++ trunk/dports/archivers/arc/Portfile	2010-06-12 17:08:18 UTC (rev 68755)
@@ -23,9 +23,12 @@
 
 set CFLAGS        ${configure.cflags}
 
-if {[variant_isset universal]} {
+variant universal {
 	set CFLAGS    "${CFLAGS} ${configure.universal_cflags}"
 }
+if {![variant_isset universal]} {
+	set CFLAGS    "${CFLAGS} ${configure.cc_archflags}"
+}
 
 build.args        CC=${configure.cc} \
                   OPT="${CFLAGS}"
@@ -40,7 +43,5 @@
 		${destroot}${docdir}
 }
 
-variant universal {}
-
 livecheck.regex "<title>${name} ${name}-(\\d+(?:\\.\\d+)*\[a-z\]?) released.*</title>"
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100612/15273586/attachment.html>


More information about the macports-changes mailing list