summaryrefslogtreecommitdiff
path: root/lang/opencobol/patches/patch-aa
blob: 7f888df3eb3e98582459190217d7ad0de3accf0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.4 2010/06/02 12:38:29 adam Exp $

--- configure.orig	2007-12-27 10:57:51.000000000 +0000
+++ configure
@@ -24347,7 +24347,7 @@ echo "$as_me: error: Include file db.h i
 
 
 
-for ac_header in db.h db_185.h db3/db_185.h db4/db_185.h db4.1/db_185.h db4.2/db_185.h db4.3/db_185.h db4.4/db_185.h db4.5/db_185.h
+for ac_header in db.h db_185.h db3/db_185.h db4/db_185.h db5/db_185.h
 do
 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 if eval "test \"\${$as_ac_Header+set}\" = set"; then
@@ -26067,7 +26067,7 @@ then
   COB_CFLAGS="$COB_CFLAGS $CPPFLAGS"
 fi
 
-COB_LIBS="-L$libdir -lcob ${LIBCOB_LIBS}"
+COB_LIBS="-L$libdir -Wl,-R$libdir -lcob ${LIBCOB_LIBS}"
 COB_LDFLAGS=""
 if test "x$LDFLAGS" != "x"
 then