Ticket #35556: gimp-gap-ccache.diff

File gimp-gap-ccache.diff, 1.3 KB (added by raimue (Rainer Müller), 12 years ago)
  • files/patch-configure-ccache.diff

     
     1$CC needs to be quoted to allow "ccache /usr/bin/gcc-4.2"
     2--- gimp-gap-2.6.0/configure.orig       2010-10-20 03:30:54.000000000 +0200
     3+++ gimp-gap-2.6.0/configure    2010-10-20 03:31:08.000000000 +0200
     4@@ -7738,7 +7738,7 @@
     5       fi
     6 
     7       if test "x$CC" != "x"; then
     8-        ff_pass_through_flags=" $ff_pass_through_flags --cc=$CC "
     9+        ff_pass_through_flags=" $ff_pass_through_flags --cc=\"$CC\" "
     10       fi
     11 
     12       FFMPEG_CONFIGURE_OPTIONS=" $ff_pass_through_flags $FFMPEG_CONFIGURE_OPTIONS"
  • Portfile

     
    2323
    2424universal_variant  no
    2525use_parallel_build no
    26 configure.ccache   no
    2726
    2827homepage        http://www.gimp.org/
    2928platforms       darwin
     
    4645
    4746patch.dir       ${workpath}
    4847patchfiles      patch-extern_libs-configure_options_ffmpeg.txt.diff \
    49                 patch-ffmpeg-Makefile.diff
     48                patch-ffmpeg-Makefile.diff \
     49                patch-configure-ccache.diff
    5050
    5151post-patch     {
    5252                   if {$build_arch != ""} {