[84814] trunk/dports/graphics/imlib/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Oct 2 06:13:23 PDT 2011


Revision: 84814
          http://trac.macports.org/changeset/84814
Author:   ryandesign at macports.org
Date:     2011-10-02 06:13:16 -0700 (Sun, 02 Oct 2011)
Log Message:
-----------
imlib: -arch flags don't belong in config files

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

Modified: trunk/dports/graphics/imlib/Portfile
===================================================================
--- trunk/dports/graphics/imlib/Portfile	2011-10-02 12:14:45 UTC (rev 84813)
+++ trunk/dports/graphics/imlib/Portfile	2011-10-02 13:13:16 UTC (rev 84814)
@@ -5,7 +5,7 @@
 
 name                imlib
 version             1.9.15
-revision            5
+revision            6
 set branch          [join [lrange [split ${version} .] 0 1] .]
 categories          graphics devel
 platforms           darwin
@@ -34,6 +34,12 @@
 # build for correct archs; fix mandir
 use_autoreconf      yes
 
+post-build {
+    reinplace -E {s|-arch [a-z0-9_]+||g} \
+        ${worksrcpath}/imlib-config \
+        ${worksrcpath}/imlib.pc
+}
+
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     eval xinstall -m 644 -W ${worksrcpath}/doc \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111002/247fca28/attachment.html>


More information about the macports-changes mailing list