[128721] trunk/dports/lang/gcl

larryv at macports.org larryv at macports.org
Thu Nov 27 00:51:22 PST 2014


Revision: 128721
          https://trac.macports.org/changeset/128721
Author:   larryv at macports.org
Date:     2014-11-27 00:51:22 -0800 (Thu, 27 Nov 2014)
Log Message:
-----------
gcl: Update to 2.6.12

Also:
- Remove unnecessary reinplace for setting info directory.
- Prevent build from forcing `CC=gcc`.

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

Added Paths:
-----------
    trunk/dports/lang/gcl/files/h-386-macosx.defs.patch

Modified: trunk/dports/lang/gcl/Portfile
===================================================================
--- trunk/dports/lang/gcl/Portfile	2014-11-27 08:51:15 UTC (rev 128720)
+++ trunk/dports/lang/gcl/Portfile	2014-11-27 08:51:22 UTC (rev 128721)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                gcl
-version             2.6.11
+version             2.6.12
 categories          lang
 license             GPL-2+
 platforms           darwin
@@ -22,15 +22,16 @@
                     port:readline
 
 master_sites        gnu
-checksums           rmd160 f418727ea814287e03d5c8313206f51e21133813 \
-                    sha256 44058f029a631e8ebae38c6c5a25e2f986b5bfdd8e6283b32d7e56723efafb9c
+checksums           rmd160  51414c7d3da76220246807985763656b6a2ef4d9 \
+                    sha256  8eb8491bccafc49683599e92a30ba36db0825dd4bb138a104cb662b9b0d090e8
 worksrcdir          ${name}
 
+# Don't compile with -Wno-unused-but-set-variable.
 patchfiles          configure.patch
-post-patch {
-    reinplace "s|/usr/local/lib|${prefix}/share|g" info/makefile
-}
 
+# Use the right compiler.
+patchfiles-append   h-386-macosx.defs.patch
+
 configure.cflags-append -std=gnu89
 configure.args      --disable-notify \
                     --disable-statsysbfd \

Added: trunk/dports/lang/gcl/files/h-386-macosx.defs.patch
===================================================================
--- trunk/dports/lang/gcl/files/h-386-macosx.defs.patch	                        (rev 0)
+++ trunk/dports/lang/gcl/files/h-386-macosx.defs.patch	2014-11-27 08:51:22 UTC (rev 128721)
@@ -0,0 +1,14 @@
+Index: h/386-macosx.defs
+===================================================================
+--- h/386-macosx.defs.orig
++++ h/386-macosx.defs
+@@ -1,9 +1,5 @@
+ # powerpc-macosx.defs
+ 
+-# Disable Apple's custom C preprocessor which gets confused when
+-# preprocessing some of the *.d files in the o/ subdirectory.
+-CC = gcc $(CPPFLAGS)
+-
+ # Set this to avoid warnings when linking against libncurses.
+ # This is due to the requirements of the two level namespace.
+ LIBS := `echo $(LIBS) | sed -e 's/-lncurses/ /'`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141127/64c2d611/attachment.html>


More information about the macports-changes mailing list