[83234] trunk/dports/math/libranlib/Portfile
Revision: 83234 http://trac.macports.org/changeset/83234 Author: ryandesign@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}
participants (1)
-
ryandesign@macports.org