diff options
Diffstat (limited to 'lang/tinycobol/files/patch-aa')
-rw-r--r-- | lang/tinycobol/files/patch-aa | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/lang/tinycobol/files/patch-aa b/lang/tinycobol/files/patch-aa new file mode 100644 index 000000000000..18d78f3082c2 --- /dev/null +++ b/lang/tinycobol/files/patch-aa @@ -0,0 +1,45 @@ +--- configure.orig Thu Oct 26 09:40:25 2000 ++++ configure Thu Oct 26 10:31:42 2000 +@@ -1683,7 +1683,7 @@ + if test "${db_version}" = "0" ; then + echo -n "checking library db for version 1.85 compatibility ..." + LIBS_BK="$LIBS" +- LIBS="$LIBS -ldb" ++ LIBS="$LIBS -ldb2" + cat > conftest.$ac_ext <<EOF + #line 1689 "configure" + #include "confdefs.h" +@@ -1786,13 +1786,13 @@ + + # if header db.h found check library db is version 1.85 + +- echo $ac_n "checking for -ldb""... $ac_c" 1>&6 ++ echo $ac_n "checking for -ldb2""... $ac_c" 1>&6 + ac_lib_var=`echo db'_'dbopen | tr './+\055' '__p_'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-ldb $LIBS" ++LIBS="-ldb2 $LIBS" + cat > conftest.$ac_ext <<EOF + #line 1798 "configure" + #include "confdefs.h" +@@ -1963,7 +1963,7 @@ + fi + + # check for header and library for readline +-htg_ld_args_default2="-lhtcobol -ldb -lncurses -lm" ++htg_ld_args_default2="-lhtcobol -ldb2 -lncurses -lm" + # Check whether --with-readline or --without-readline was given. + if test "${with_readline+set}" = set; then + withval="$with_readline" +@@ -2037,7 +2037,7 @@ + fi + if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- htg_ld_args_default2="-lhtcobol -ldb -lncurses -lreadline -lm" ++ htg_ld_args_default2="-lhtcobol -ldb2 -lncurses -lreadline -lm" + else + echo "$ac_t""no" 1>&6 + { echo "configure: error: "readline lib is required by create COBOL executable"" 1>&2; exit 1; } |