[69735] trunk/dports/kde/kdegraphics3/files/CompileScript.sh

takanori at macports.org takanori at macports.org
Wed Jul 14 17:05:59 PDT 2010


Revision: 69735
          http://trac.macports.org/changeset/69735
Author:   takanori at macports.org
Date:     2010-07-14 17:05:57 -0700 (Wed, 14 Jul 2010)
Log Message:
-----------
kdegraphics3:
 - recent imlib returns an '-arch ...' flag as a part of 'pkg-config --libs imlib'
   but unsermake cannot handle it properly

Modified Paths:
--------------
    trunk/dports/kde/kdegraphics3/files/CompileScript.sh

Modified: trunk/dports/kde/kdegraphics3/files/CompileScript.sh
===================================================================
--- trunk/dports/kde/kdegraphics3/files/CompileScript.sh	2010-07-14 23:43:24 UTC (rev 69734)
+++ trunk/dports/kde/kdegraphics3/files/CompileScript.sh	2010-07-15 00:05:57 UTC (rev 69735)
@@ -4,5 +4,9 @@
 	. ./environment-helper.sh
 
 	./build-helper.sh cvs       %N %v %r make -f admin/Makefile.common cvs
+
+        # MacPorts
+        sudo perl -pi.bak -e "s|\`(\\\$PKG_CONFIG --libs \"imlib >= 1.9.10\")\`|\`\1 \| sed \"s/\\\\(-arch\\\\) \\\\([0-9a-zA-Z_]*\\\\)/-Wl,\\\\1,\\\\2/g\"\`|g" configure
+
 	./build-helper.sh configure %N %v %r ./configure %c $CONFIGURE_PARAMS
 	./build-helper.sh make      %N %v %r unsermake $UNSERMAKEFLAGS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100714/4ba0c7ff/attachment.html>


More information about the macports-changes mailing list