[87070] trunk/dports/graphics/pngcrush/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Nov 9 08:17:16 PST 2011


Revision: 87070
          http://trac.macports.org/changeset/87070
Author:   ryandesign at macports.org
Date:     2011-11-09 08:17:15 -0800 (Wed, 09 Nov 2011)
Log Message:
-----------
pngcrush: build for the right arch, and add universal variant

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

Modified: trunk/dports/graphics/pngcrush/Portfile
===================================================================
--- trunk/dports/graphics/pngcrush/Portfile	2011-11-09 16:10:38 UTC (rev 87069)
+++ trunk/dports/graphics/pngcrush/Portfile	2011-11-09 16:17:15 UTC (rev 87070)
@@ -29,8 +29,11 @@
 
 use_configure       no
 
-build.args-append   CC="${configure.cc}" LD="${configure.cc}"
+variant universal {}
 
+build.args-append   CC="${configure.cc} [get_canonical_archflags cc]" \
+                    LD="${configure.cc} [get_canonical_archflags ld]"
+
 destroot {
    xinstall -m 755 -d ${destroot}${prefix}/bin
    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111109/dcedbe2c/attachment.html>


More information about the macports-changes mailing list