pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/opencobol After a first test, it was obvious that...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/23e0d8ca5736
branches:  trunk
changeset: 523361:23e0d8ca5736
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jan 06 20:45:45 2007 +0000

description:
After a first test, it was obvious that the compiler needs the -Wl,-R
flag to find libcob when linking programs.

diffstat:

 lang/opencobol/distinfo         |   3 ++-
 lang/opencobol/patches/patch-aa |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 226f0d5ea619 -r 23e0d8ca5736 lang/opencobol/distinfo
--- a/lang/opencobol/distinfo   Sat Jan 06 20:22:11 2007 +0000
+++ b/lang/opencobol/distinfo   Sat Jan 06 20:45:45 2007 +0000
@@ -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 -r 226f0d5ea619 -r 23e0d8ca5736 lang/opencobol/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/opencobol/patches/patch-aa   Sat Jan 06 20:45:45 2007 +0000
@@ -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/'`



Home | Main Index | Thread Index | Old Index