[82637] trunk/dports/graphics/jbigkit/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Aug 17 00:57:23 PDT 2011


Revision: 82637
          http://trac.macports.org/changeset/82637
Author:   ryandesign at macports.org
Date:     2011-08-17 00:57:20 -0700 (Wed, 17 Aug 2011)
Log Message:
-----------
jbigkit: simplify setting archflags; increase revision since it was not done in r80108

Revision Links:
--------------
    http://trac.macports.org/changeset/80108

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

Modified: trunk/dports/graphics/jbigkit/Portfile
===================================================================
--- trunk/dports/graphics/jbigkit/Portfile	2011-08-17 06:46:26 UTC (rev 82636)
+++ trunk/dports/graphics/jbigkit/Portfile	2011-08-17 07:57:20 UTC (rev 82637)
@@ -5,7 +5,7 @@
 
 name                    jbigkit
 version                 2.0
-revision                1
+revision                2
 categories              graphics
 license                 GPL-2+
 platforms               darwin
@@ -34,11 +34,7 @@
 
 configure {
     reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile
-    if {[variant_isset universal]} {
-        reinplace "s|__CFLAGS__|${configure.cppflags} ${configure.universal_cflags} ${configure.cflags}|" ${worksrcpath}/Makefile
-    } else {
-        reinplace "s|__CFLAGS__|${configure.cppflags} ${configure.cc_archflags} ${configure.cflags}|" ${worksrcpath}/Makefile
-    }
+    reinplace "s|__CFLAGS__|${configure.cppflags} [get_canonical_archflags] ${configure.cflags}|" ${worksrcpath}/Makefile
 }
 
 test.run                yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110817/3715ac71/attachment.html>


More information about the macports-changes mailing list