[83234] trunk/dports/math/libranlib/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Aug 28 23:01:45 PDT 2011


Revision: 83234
          http://trac.macports.org/changeset/83234
Author:   ryandesign at macports.org
Date:     2011-08-28 23:01:44 -0700 (Sun, 28 Aug 2011)
Log Message:
-----------
libranlib: ensure we're UsingTheRightCompiler and build_arch; add universal variant

Modified Paths:
--------------
    trunk/dports/math/libranlib/Portfile

Modified: trunk/dports/math/libranlib/Portfile
===================================================================
--- trunk/dports/math/libranlib/Portfile	2011-08-29 06:01:11 UTC (rev 83233)
+++ trunk/dports/math/libranlib/Portfile	2011-08-29 06:01:44 UTC (rev 83234)
@@ -42,7 +42,10 @@
 
 use_configure       no
 
-build.args          CFLAGS=-fno-common \
+variant universal {}
+
+build.args          CC=${configure.cc} \
+                    CFLAGS="[get_canonical_archflags] -fno-common" \
                     prefix=${prefix}
 
-destroot.args       prefix=${prefix}
+eval destroot.args  ${build.args}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110828/d74273f3/attachment.html>


More information about the macports-changes mailing list