[126803] trunk/dports/lang/gcl
jmr at macports.org
jmr at macports.org
Wed Oct 15 09:07:28 PDT 2014
Revision: 126803
https://trac.macports.org/changeset/126803
Author: jmr at macports.org
Date: 2014-10-15 09:07:28 -0700 (Wed, 15 Oct 2014)
Log Message:
-----------
gcl: don't use -Wno-unused-but-set-variable, not supported by any of our standard compilers
Modified Paths:
--------------
trunk/dports/lang/gcl/Portfile
Added Paths:
-----------
trunk/dports/lang/gcl/files/
trunk/dports/lang/gcl/files/configure.patch
Modified: trunk/dports/lang/gcl/Portfile
===================================================================
--- trunk/dports/lang/gcl/Portfile 2014-10-15 15:17:05 UTC (rev 126802)
+++ trunk/dports/lang/gcl/Portfile 2014-10-15 16:07:28 UTC (rev 126803)
@@ -26,6 +26,7 @@
sha256 44058f029a631e8ebae38c6c5a25e2f986b5bfdd8e6283b32d7e56723efafb9c
worksrcdir ${name}
+patchfiles configure.patch
post-patch {
reinplace "s|/usr/local/lib|${prefix}/share|g" info/makefile
}
Added: trunk/dports/lang/gcl/files/configure.patch
===================================================================
--- trunk/dports/lang/gcl/files/configure.patch (rev 0)
+++ trunk/dports/lang/gcl/files/configure.patch 2014-10-15 16:07:28 UTC (rev 126803)
@@ -0,0 +1,35 @@
+--- configure.orig 2014-09-07 01:45:30.000000000 +1000
++++ configure 2014-10-16 03:05:26.000000000 +1100
+@@ -4176,32 +4176,6 @@
+ TCFLAGS="-Wall -fsigned-char"
+
+ #FIXME -Wno-unused-but-set-variable when time
+- TMPF=-Wno-unused-but-set-variable
+- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLAG $TMPF" >&5
+-$as_echo_n "checking for CFLAG $TMPF... " >&6; }
+- CFLAGS_ORI=$CFLAGS
+- CFLAGS="$CFLAGS $TMPF"
+-
+-if test "$cross_compiling" = yes; then :
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+-else
+- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h. */
+-int main() {return 0;}
+-_ACEOF
+-if ac_fn_c_try_run "$LINENO"; then :
+- TCFLAGS="$TCFLAGS $TMPF";{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+-$as_echo "yes" >&6; }
+-else
+- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+-$as_echo "no" >&6; }
+-fi
+-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+- conftest.$ac_objext conftest.beam conftest.$ac_ext
+-fi
+-
+- CFLAGS=$CFLAGS_ORI
+
+ else
+ TCFLAGS="-fsigned-char"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141015/c95a9d62/attachment-0001.html>
More information about the macports-changes
mailing list