diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gnucobol/distinfo | 4 | ||||
-rw-r--r-- | lang/gnucobol/patches/patch-configure | 20 |
2 files changed, 21 insertions, 3 deletions
diff --git a/lang/gnucobol/distinfo b/lang/gnucobol/distinfo index 607261dcc5d..c18f2535090 100644 --- a/lang/gnucobol/distinfo +++ b/lang/gnucobol/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.2 2015/11/03 22:50:36 agc Exp $ +$NetBSD: distinfo,v 1.3 2016/01/07 16:01:10 jperkin Exp $ SHA1 (gnu-cobol-2.0_nightly_r411.tar.gz) = 009215c090b9a90fbf02bbc913095ce2a9b31910 RMD160 (gnu-cobol-2.0_nightly_r411.tar.gz) = a5a219a7d08ea498dab653a02fc54f0fa1205d99 SHA512 (gnu-cobol-2.0_nightly_r411.tar.gz) = 9b8dfd284ced007e16c449790f28264cb982ecae6e5bf3f70cef560b8ca5d7c3d47c1811d5a6a0197ad45ff869a43a3621f0b08d7bcdde72e5aa6c2be2efc878 Size (gnu-cobol-2.0_nightly_r411.tar.gz) = 1748284 bytes -SHA1 (patch-configure) = d0b3241e95c5910d083ff56cd33527cf871190b1 +SHA1 (patch-configure) = 6c4cd54fff47adfe818ecac5eff5f30b17c748c5 diff --git a/lang/gnucobol/patches/patch-configure b/lang/gnucobol/patches/patch-configure index b91ba09ac69..abcf4127774 100644 --- a/lang/gnucobol/patches/patch-configure +++ b/lang/gnucobol/patches/patch-configure @@ -1,7 +1,8 @@ -$NetBSD: patch-configure,v 1.1 2015/07/01 14:23:55 ryoon Exp $ +$NetBSD: patch-configure,v 1.2 2016/01/07 16:01:10 jperkin Exp $ * Improve POSIX shell compatibility. * Detect pkgsrc berkeley db library. +* Don't remove -g. --- configure.orig 2014-08-21 18:24:14.000000000 +0000 +++ configure @@ -23,3 +24,20 @@ $NetBSD: patch-configure,v 1.1 2015/07/01 14:23:55 ryoon Exp $ do LIBS="$MYOLDLIBS -l$cobdb" if test "$cross_compiling" = yes; then : +@@ -16902,7 +16902,7 @@ COB_EXEEXT="$EXEEXT" + + if test "$enable_debug" != "yes" -a "x$CFLAGS" != "x" + then +- CFLAGS=`echo "$CFLAGS" | sed -e 's/-g//' -e 's/^ //' -e 's/ $//'` ++ : CFLAGS=`echo "$CFLAGS" | sed -e 's/-g//' -e 's/^ //' -e 's/ $//'` + fi + + # Include CFLAGS in COB_CFLAGS without optimization/debug options +@@ -16910,7 +16910,6 @@ fi + cob_temp_flags="" + if test "x$CFLAGS" != "x" + then +- cob_temp_flags=`echo "$CFLAGS" | sed -e 's/-g//' -e 's/ $//' -e 's/^ //'` + cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/[+-]O[0-9s]//' -e 's/ $//' -e 's/^ //'` + cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-O//' -e 's/ $//' -e 's/^ //'` + cob_temp_flags=`echo "$cob_temp_flags" | sed -e 's/-fmessage-length=0//'` |