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

toby at macports.org toby at macports.org
Sat Jun 6 01:53:24 PDT 2009


Revision: 51908
          http://trac.macports.org/changeset/51908
Author:   toby at macports.org
Date:     2009-06-06 01:53:24 -0700 (Sat, 06 Jun 2009)
Log Message:
-----------
set cc and cflags more sanely

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

Modified: trunk/dports/graphics/jbigkit/Portfile
===================================================================
--- trunk/dports/graphics/jbigkit/Portfile	2009-06-06 08:48:27 UTC (rev 51907)
+++ trunk/dports/graphics/jbigkit/Portfile	2009-06-06 08:53:24 UTC (rev 51908)
@@ -26,14 +26,11 @@
 
 worksrcdir			${name}
 
+patchfiles			patch-Makefile
+
 configure {
-    if { [variant_isset universal] } {
-        foreach arch ${universal_archs} {
-            configure.cc-append -arch ${arch}
-        }
-        configure.cc-append -isysroot ${configure.universal_sysroot}
-    }
-    reinplace "s|CC = gcc|CC = ${configure.cc}|" ${worksrcpath}/Makefile
+    reinplace "s|__CC__|${configure.cc}|" ${worksrcpath}/Makefile
+    reinplace "s|__CFLAGS__|${configure.cflags}|" ${worksrcpath}/Makefile
 }
 
 test.run		yes
@@ -80,8 +77,6 @@
 	}
 }
 
-variant universal {}
-
 livecheck.check regex
 livecheck.url   ${master_sites}
 livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090606/2b336562/attachment.html>


More information about the macports-changes mailing list