[97564] trunk/dports/graphics/gimp-gap

devans at macports.org devans at macports.org
Sun Sep 9 03:44:06 PDT 2012


Revision: 97564
          https://trac.macports.org/changeset/97564
Author:   devans at macports.org
Date:     2012-09-09 03:44:06 -0700 (Sun, 09 Sep 2012)
Log Message:
-----------
gimp-gap: apply patch to allow use of ccache (#35556), don't use clang.

Modified Paths:
--------------
    trunk/dports/graphics/gimp-gap/Portfile

Added Paths:
-----------
    trunk/dports/graphics/gimp-gap/files/patch-configure-ccache.diff

Modified: trunk/dports/graphics/gimp-gap/Portfile
===================================================================
--- trunk/dports/graphics/gimp-gap/Portfile	2012-09-09 10:43:31 UTC (rev 97563)
+++ trunk/dports/graphics/gimp-gap/Portfile	2012-09-09 10:44:06 UTC (rev 97564)
@@ -23,7 +23,6 @@
 
 universal_variant  no
 use_parallel_build no
-configure.ccache   no
 
 homepage        http://www.gimp.org/
 platforms       darwin
@@ -46,7 +45,8 @@
 
 patch.dir       ${workpath}
 patchfiles      patch-extern_libs-configure_options_ffmpeg.txt.diff \
-                patch-ffmpeg-Makefile.diff
+                patch-ffmpeg-Makefile.diff \
+                patch-configure-ccache.diff
 
 post-patch     {
                    if {$build_arch != ""} {
@@ -70,6 +70,10 @@
 
 depends_run     path:bin/mplayer:MPlayer
 
+if {${configure.compiler} == "clang"} {
+    configure.compiler llvm-gcc-4.2
+}
+
 configure.args  --disable-audio-support \
                 --disable-libmpeg3 \
                 --disable-ff-libfaac \

Added: trunk/dports/graphics/gimp-gap/files/patch-configure-ccache.diff
===================================================================
--- trunk/dports/graphics/gimp-gap/files/patch-configure-ccache.diff	                        (rev 0)
+++ trunk/dports/graphics/gimp-gap/files/patch-configure-ccache.diff	2012-09-09 10:44:06 UTC (rev 97564)
@@ -0,0 +1,12 @@
+$CC needs to be quoted to allow "ccache /usr/bin/gcc-4.2"
+--- gimp-gap-2.6.0/configure.orig	2010-10-20 03:30:54.000000000 +0200
++++ gimp-gap-2.6.0/configure	2010-10-20 03:31:08.000000000 +0200
+@@ -7738,7 +7738,7 @@
+       fi
+ 
+       if test "x$CC" != "x"; then
+-      	 ff_pass_through_flags=" $ff_pass_through_flags --cc=$CC "
++      	 ff_pass_through_flags=" $ff_pass_through_flags --cc=\"$CC\" "
+       fi
+ 
+       FFMPEG_CONFIGURE_OPTIONS=" $ff_pass_through_flags $FFMPEG_CONFIGURE_OPTIONS"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120909/cd69e6af/attachment.html>


More information about the macports-changes mailing list