From d75c7a91bc8ee7ae6b214206bf3074a747ba8dfe Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sun, 23 Mar 2003 10:31:58 +0000 Subject: Add support for Interbase. PR: ports/49970 Submitted by: Chris Knight --- databases/sqlrelay/files/patch-configure | 93 ++++++++++++++++++++++++++++++-- 1 file changed, 88 insertions(+), 5 deletions(-) (limited to 'databases/sqlrelay/files') diff --git a/databases/sqlrelay/files/patch-configure b/databases/sqlrelay/files/patch-configure index 7af01c335b0f..7506249be732 100644 --- a/databases/sqlrelay/files/patch-configure +++ b/databases/sqlrelay/files/patch-configure @@ -1,6 +1,6 @@ ---- configure.orig Fri Oct 19 11:58:59 2001 -+++ configure Sun Feb 24 02:29:56 2002 -@@ -1604,7 +1604,7 @@ +--- configure.orig Mon Apr 15 14:23:31 2002 ++++ configure Thu Nov 21 19:00:36 2002 +@@ -1705,7 +1705,7 @@ fi if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 @@ -9,7 +9,7 @@ else echo "$ac_t""no" 1>&6 -@@ -1629,7 +1629,7 @@ +@@ -1784,7 +1784,7 @@ fi if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then echo "$ac_t""yes" 1>&6 @@ -18,7 +18,90 @@ else echo "$ac_t""no" 1>&6 -@@ -6882,10 +6882,7 @@ +@@ -7314,7 +7314,7 @@ + fi + if eval "test \"`echo '$ac_cv_file_'$ac_safe`\" = yes"; then + echo "$ac_t""yes" 1>&6 +- INTERBASELIBSPATH="$INTERBASPATH/lib"; INTERBASELIBS="-L$INTERBASEPATH/lib -lgds -lcrypt" ++ INTERBASELIBSPATH="$INTERBASEPATH/lib"; INTERBASELIBS="-L$INTERBASEPATH/lib -lgds -lcrypt" + else + echo "$ac_t""no" 1>&6 + +@@ -7403,8 +7403,8 @@ + + LINKFAIL="" + if ( test -n "$INTERBASESTATIC" -a -n "$INTERBASELIBS" ); then +- echo $ac_n "checking if Interbase can be statically linked without $DLLIB""... $ac_c" 1>&6 +-echo "configure:7408: checking if Interbase can be statically linked without $DLLIB" >&5 ++ echo $ac_n "checking if Interbase can be statically linked without -lcrypt""... $ac_c" 1>&6 ++echo "configure:7408: checking if Interbase can be statically linked without -lcrypt" >&5 + TEMPCPPFLAGS="$CPPFLAGS" + CPPFLAGS="$INTERBASESTATIC $INTERBASEINCLUDES" + LIBS="$INTERBASELIBS $SOCKETLIB" +@@ -7429,12 +7429,12 @@ + rm -f conftest* + LIBS="" + CPPFLAGS="$TEMPCPPFLAGS" +- if ( test -n "$LINKFAIL" -a -n "$DLLIB" ); then +- echo $ac_n "checking if Interbase can be statically linked with $DLLIB""... $ac_c" 1>&6 +-echo "configure:7435: checking if Interbase can be statically linked with $DLLIB" >&5 ++ if ( test -n "$LINKFAIL" ); then ++ echo $ac_n "checking if Interbase can be statically linked with -lcrypt""... $ac_c" 1>&6 ++echo "configure:7435: checking if Interbase can be statically linked with -lcrypt" >&5 + TEMPCPPFLAGS="$CPPFLAGS" + CPPFLAGS="$INTERBASESTATIC $INTERBASEINCLUDES" +- LIBS="$INTERBASELIBS $SOCKETLIB $DLLIB" ++ LIBS="$INTERBASELIBS $SOCKETLIB -lcrypt" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* +- echo "$ac_t""yes" 1>&6; INTERBASELIBS="$INTERBASELIBS $DLLIB"; LINKFAIL=""; ++ echo "$ac_t""yes" 1>&6; INTERBASELIBS="$INTERBASELIBS -lcrypt"; LINKFAIL=""; + else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +@@ -7463,8 +7463,8 @@ + if ( test -n "$RPATHFLAG" -a -n "$INTERBASELIBSPATH" ); then + INTERBASELIBS="-Wl,-rpath $INTERBASELIBSPATH $INTERBASELIBS" + fi +- echo $ac_n "checking if Interbase can be dynamically linked without $DLLIB""... $ac_c" 1>&6 +-echo "configure:7468: checking if Interbase can be dynamically linked without $DLLIB" >&5 ++ echo $ac_n "checking if Interbase can be dynamically linked without -lcrypt""... $ac_c" 1>&6 ++echo "configure:7468: checking if Interbase can be dynamically linked without -lcrypt" >&5 + TEMPCPPFLAGS="$CPPFLAGS" + CPPFLAGS="$INTERBASEINCLUDES" + LIBS="$INTERBASELIBS $SOCKETLIB" +@@ -7489,12 +7489,12 @@ + rm -f conftest* + LIBS="" + CPPFLAGS="$TEMPCPPFLAGS" +- if ( test -n "$LINKFAIL" -a -n "$DLLIB" ); then +- echo $ac_n "checking if Interbase can be dynamically linked with $DLLIB""... $ac_c" 1>&6 +-echo "configure:7495: checking if Interbase can be dynamically linked with $DLLIB" >&5 ++ if ( test -n "$LINKFAIL" ); then ++ echo $ac_n "checking if Interbase can be dynamically linked with -lcrypt""... $ac_c" 1>&6 ++echo "configure:7495: checking if Interbase can be dynamically linked with -lcrypt" >&5 + TEMPCPPFLAGS="$CPPFLAGS" + CPPFLAGS="$INTERBASEINCLUDES" +- LIBS="$INTERBASELIBS $SOCKETLIB $DLLIB" ++ LIBS="$INTERBASELIBS $SOCKETLIB -lcrypt" + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* +- echo "$ac_t""yes" 1>&6; INTERBASELIBS="$INTERBASELIBS $DLLIB"; LINKFAIL="" ++ echo "$ac_t""yes" 1>&6; INTERBASELIBS="$INTERBASELIBS -lcrypt"; LINKFAIL="" + else + echo "configure: failed program was:" >&5 + cat conftest.$ac_ext >&5 +@@ -8122,10 +8122,7 @@ fi if ( test -n "$JAVAINCLUDES"); then -- cgit v1.2.3