ports/lang/tinycobol/files/patch-aa
Patrick S. Gardella b9d24b4ab8 Modify the port to use gnugetopt. Our standard getopt does not work.
The developers are working to fix that.
2002-02-07 14:03:15 +00:00

29 lines
901 B
Text

--- configure.orig Tue Jan 29 08:30:36 2002
+++ configure Tue Feb 5 07:30:45 2002
@@ -522,7 +522,7 @@
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
@@ -2085,7 +2085,7 @@
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 2091 "configure"
#include "confdefs.h"
@@ -2835,7 +2835,7 @@
#)
LIBS="-L/usr/lib $M_LIBS"
-INCLUDES="-I/usr/include -I../lib -I../"
+INCLUDES="-I/usr/include -I../lib -I../ -I/usr/local/include"
# set default directories