summaryrefslogtreecommitdiff
path: root/databases/sqsh/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'databases/sqsh/files/patch-configure')
-rw-r--r--databases/sqsh/files/patch-configure28
1 files changed, 28 insertions, 0 deletions
diff --git a/databases/sqsh/files/patch-configure b/databases/sqsh/files/patch-configure
new file mode 100644
index 000000000000..4931c34ae787
--- /dev/null
+++ b/databases/sqsh/files/patch-configure
@@ -0,0 +1,28 @@
+--- configure Fri Nov 9 14:58:04 2001
++++ configure Tue Oct 15 13:51:29 2002
+@@ -1106,4 +1106,8 @@
+ SYBASE_LIBS=
+
++ if test "$SYBASE_VERSION" = "FreeTDS"
++ then
++ SYBASE_LIBS="-lct -ltds"
++ else
+ #
+ # Check for -lblk
+@@ -1152,9 +1156,4 @@
+ fi
+
+- #
+- # Check for -ltds (FreeTDS project)
+- #
+- if test -f $SYBASE_LIBDIR/libtds.a; then
+- SYBASE_LIBS="$SYBASE_LIBS -ltds"
+ fi
+
+@@ -1196,5 +1195,5 @@
+ ncr*)
+ SYBASE_OS="-ldl -lm";;
+- sunos*)
++ sunos*|*bsd*)
+ SYBASE_OS="-lm";;
+ solaris*)