[84807] trunk/dports/devel/orbit/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Oct 2 03:29:37 PDT 2011


Revision: 84807
          http://trac.macports.org/changeset/84807
Author:   ryandesign at macports.org
Date:     2011-10-02 03:29:32 -0700 (Sun, 02 Oct 2011)
Log Message:
-----------
orbit: fix build with ccache; see #19676

Modified Paths:
--------------
    trunk/dports/devel/orbit/Portfile

Modified: trunk/dports/devel/orbit/Portfile
===================================================================
--- trunk/dports/devel/orbit/Portfile	2011-10-02 08:50:24 UTC (rev 84806)
+++ trunk/dports/devel/orbit/Portfile	2011-10-02 10:29:32 UTC (rev 84807)
@@ -22,14 +22,24 @@
 distname    	ORBit-${version}
 use_bzip2	yes
 depends_lib 	port:glib1 port:gettext
+
 patchfiles	patch-configure patch-m4-underquoted
+
+post-patch {
+    fs-traverse item ${worksrcpath} {
+        if {"Makefile.in" == [file tail ${item}]} {
+            reinplace -E {/--mode=/s|(\$\(CC(LD)?\))|"\1"|g} ${item}
+        }
+    }
+}
+
 configure.args	\
     	LDFLAGS="-L${prefix}/lib" \
 	CPPFLAGS="-I${prefix}/include -DHAVE_LIMITED_WRITEV \
 	    	-DMAX_LIMITED_IOVECS=1024" \
 	CFLAGS="-O3 -fstrict-aliasing -funroll-loops" \
 	--infodir=${prefix}/share/info
-configure.ccache no 
+
 livecheck.type  regex
 livecheck.url   http://ftp.gnome.org/pub/gnome/sources/ORBit/${branch}/
 livecheck.regex {LATEST-IS-(\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111002/bebad05c/attachment-0001.html>


More information about the macports-changes mailing list