[83261] trunk/dports/graphics/icoconvert/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 29 01:54:49 PDT 2011


Revision: 83261
          http://trac.macports.org/changeset/83261
Author:   ryandesign at macports.org
Date:     2011-08-29 01:54:49 -0700 (Mon, 29 Aug 2011)
Log Message:
-----------
icoconvert: ensure we're UsingTheRightCompiler and build_arch; add universal variant

Modified Paths:
--------------
    trunk/dports/graphics/icoconvert/Portfile

Modified: trunk/dports/graphics/icoconvert/Portfile
===================================================================
--- trunk/dports/graphics/icoconvert/Portfile	2011-08-29 08:36:40 UTC (rev 83260)
+++ trunk/dports/graphics/icoconvert/Portfile	2011-08-29 08:54:49 UTC (rev 83261)
@@ -25,8 +25,12 @@
 
 use_configure	no
 
+variant universal {}
+
 build.target
-build.args		LIBDIR="-L${prefix}/lib" FLAGS="-I${prefix}/include"
+build.args		CC=${configure.cc} \
+			LIBDIR="${configure.ldflags} [get_canonical_archflags]" \
+			FLAGS="${configure.cflags} ${configure.cppflags} [get_canonical_archflags]"
 
 destroot {
 	xinstall -m 755 -d ${destroot}${prefix}/bin \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110829/cb2d0f2a/attachment.html>


More information about the macports-changes mailing list