diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/opencobol/distinfo | 3 | ||||
-rw-r--r-- | lang/opencobol/patches/patch-aa | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/opencobol/distinfo b/lang/opencobol/distinfo index 5f468c4b471..16e90c0f3ee 100644 --- a/lang/opencobol/distinfo +++ b/lang/opencobol/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2007/01/06 20:22:11 rillig Exp $ +$NetBSD: distinfo,v 1.5 2007/01/06 20:45:45 rillig Exp $ SHA1 (open-cobol-0.32.tar.gz) = 9d30d0107b098c4638aa78643d833b9b2946565e RMD160 (open-cobol-0.32.tar.gz) = 920efc8f63f5b3f9204934108f16812569d9675c Size (open-cobol-0.32.tar.gz) = 768635 bytes +SHA1 (patch-aa) = 635e0ec19fdcf689fc6dfdbd910825c791825c36 diff --git a/lang/opencobol/patches/patch-aa b/lang/opencobol/patches/patch-aa new file mode 100644 index 00000000000..9b4dc57e2d0 --- /dev/null +++ b/lang/opencobol/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.3 2007/01/06 20:45:45 rillig Exp $ + +All generated programs must be linked with this flag to find libcob. + +--- configure.orig 2005-05-03 11:31:14.000000000 +0200 ++++ configure 2007-01-06 21:41:08.000000000 +0100 +@@ -25089,7 +25089,7 @@ else + COB_CFLAGS="-I$includedir" + fi + +-COB_LIBS="-L$libdir -lcob ${LIBCOB_LIBS}" ++COB_LIBS="-L$libdir -Wl,-R$libdir -lcob ${LIBCOB_LIBS}" + COB_CONFIG_DIR="$datadir/$PACKAGE_TARNAME/config" + COB_LIBRARY_PATH=".:$libdir/$PACKAGE_TARNAME" + COB_MODULE_EXT=`echo "$shlibext" | sed 's/dll\.a/dll/'` |