[84594] trunk/dports/lang/gauche

ryandesign at macports.org ryandesign at macports.org
Wed Sep 28 12:08:18 PDT 2011


Revision: 84594
          http://trac.macports.org/changeset/84594
Author:   ryandesign at macports.org
Date:     2011-09-28 12:08:17 -0700 (Wed, 28 Sep 2011)
Log Message:
-----------
gauche: fix build failure when CC contains a space (like when ccache is enabled in macports.conf)

Modified Paths:
--------------
    trunk/dports/lang/gauche/Portfile

Added Paths:
-----------
    trunk/dports/lang/gauche/files/patch-src-Makefile.in.diff

Modified: trunk/dports/lang/gauche/Portfile
===================================================================
--- trunk/dports/lang/gauche/Portfile	2011-09-28 18:56:33 UTC (rev 84593)
+++ trunk/dports/lang/gauche/Portfile	2011-09-28 19:08:17 UTC (rev 84594)
@@ -37,6 +37,8 @@
                     port:libiconv \
                     port:slib
 
+patchfiles          patch-src-Makefile.in.diff
+
 configure.args      --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
                     --with-local=${prefix} --enable-multibyte=utf-8 \
                     --with-iconv=${prefix} --with-slib=${prefix}/lib/slib \

Added: trunk/dports/lang/gauche/files/patch-src-Makefile.in.diff
===================================================================
--- trunk/dports/lang/gauche/files/patch-src-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/lang/gauche/files/patch-src-Makefile.in.diff	2011-09-28 19:08:17 UTC (rev 84594)
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig	2011-07-25 07:45:23.000000000 -0500
++++ src/Makefile.in	2011-09-28 14:02:20.000000000 -0500
+@@ -70,7 +70,7 @@
+ # Main definition of compilation commands
+ COMPILE   = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(OPTFLAGS)
+ MKINSTDIR = $(top_srcdir)/mkinstalldirs
+-CCLD      = $(LINK_HELPER) $(CC)
++CCLD      = $(LINK_HELPER) "$(CC)"
+ LINK      = TARGETLIB=`pwd` $(CCLD) $(CFLAGS) $(RPATH_TMP) -L. $(LDFLAGS)
+ RELINK    = TARGETLIB=$(TARGETLIB) $(CCLD) $(CFLAGS) $(RPATH_REAL) -L. $(LDFLAGS)
+ INSTALL   = @INSTALL@
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110928/c70a6485/attachment.html>


More information about the macports-changes mailing list