[75882] trunk/dports/graphics/makeicns/Portfile

mk at macports.org mk at macports.org
Fri Feb 11 14:47:17 PST 2011


Revision: 75882
          http://trac.macports.org/changeset/75882
Author:   mk at macports.org
Date:     2011-02-11 14:47:17 -0800 (Fri, 11 Feb 2011)
Log Message:
-----------
makeicns: follow Ryan's advice concerning Portfile

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

Modified: trunk/dports/graphics/makeicns/Portfile
===================================================================
--- trunk/dports/graphics/makeicns/Portfile	2011-02-11 22:18:18 UTC (rev 75881)
+++ trunk/dports/graphics/makeicns/Portfile	2011-02-11 22:47:17 UTC (rev 75882)
@@ -5,6 +5,7 @@
 
 name                makeicns
 version             1.4.1
+revision            1
 categories          graphics
 maintainers         mk pixilla
 platforms           darwin
@@ -22,7 +23,6 @@
 
 use_bzip2           yes
 
-distname            ${name}-${version}
 worksrcdir          ${name}
 
 checksums           md5     e62f6453152764dd42fec10dce949304 \
@@ -32,7 +32,6 @@
 use_configure       no
 
 variant universal {
-    build.env-append BUILD_UNIVERSAL=yes
 }
 
 if {[variant_isset universal]} {
@@ -42,7 +41,10 @@
 }
 
 build.env-append    CC=${configure.cc} \
-                    CXX=${configure.cxx}
+                    CXX=${configure.cxx} \
+                    CFLAGS="${configure.cflags} ${archflags}" \
+                    CXXFLAGS="${configure.cxxflags} ${archflags}" \
+                    LDFLAGS="[join ${configure.ldflags}] ${archflags}"
 
 if {${configure.sdkroot} != ""} {
     build.env-append SDK=${configure.sdkroot}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110211/390578ab/attachment.html>


More information about the macports-changes mailing list