aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreik <eik@FreeBSD.org>2004-05-08 02:19:29 +0800
committereik <eik@FreeBSD.org>2004-05-08 02:19:29 +0800
commit635e9bbab281d35f16a28ed53ab73288dea5c8d8 (patch)
tree6a8b0c8b32d2a11a7f38bcac709a124ac08c875a
parent3cf49825fb9522f59850fda295d04a133f6baa43 (diff)
downloadfreebsd-ports-gnome-635e9bbab281d35f16a28ed53ab73288dea5c8d8.tar.gz
freebsd-ports-gnome-635e9bbab281d35f16a28ed53ab73288dea5c8d8.tar.zst
freebsd-ports-gnome-635e9bbab281d35f16a28ed53ab73288dea5c8d8.zip
Fix iODBC detection on 4.x
Prompted by: Viktor Steinmann <viktor.steinmann@ch.easynet.net>, Marc Rassbach <marc@milestonerdl.com>
-rw-r--r--net/openldap21-server/files/patch-configure20
-rw-r--r--net/openldap22-server/files/patch-configure20
-rw-r--r--net/openldap23-server/files/patch-configure20
-rw-r--r--net/openldap24-server/files/patch-configure20
4 files changed, 80 insertions, 0 deletions
diff --git a/net/openldap21-server/files/patch-configure b/net/openldap21-server/files/patch-configure
new file mode 100644
index 000000000000..0f8edcf6472b
--- /dev/null
+++ b/net/openldap21-server/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Wed Apr 14 23:11:09 2004
++++ configure Wed May 5 12:45:52 2004
+@@ -20586,7 +20586,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-liodbc $LIBS"
++LIBS="-liodbc $LIBS $LTHREAD_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 20592 "configure"
+ #include "confdefs.h"
+@@ -20630,7 +20630,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lodbc $LIBS"
++LIBS="-lodbc $LIBS $LTHREAD_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 20636 "configure"
+ #include "confdefs.h"
diff --git a/net/openldap22-server/files/patch-configure b/net/openldap22-server/files/patch-configure
new file mode 100644
index 000000000000..cf5cf042eb50
--- /dev/null
+++ b/net/openldap22-server/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Wed May 5 11:55:48 2004
++++ configure Wed May 5 11:56:33 2004
+@@ -20220,7 +20220,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-liodbc $LIBS"
++LIBS="-liodbc $LIBS $LTHREAD_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 20226 "configure"
+ #include "confdefs.h"
+@@ -20264,7 +20264,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lodbc $LIBS"
++LIBS="-lodbc $LIBS $LTHREAD_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 20270 "configure"
+ #include "confdefs.h"
diff --git a/net/openldap23-server/files/patch-configure b/net/openldap23-server/files/patch-configure
new file mode 100644
index 000000000000..cf5cf042eb50
--- /dev/null
+++ b/net/openldap23-server/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Wed May 5 11:55:48 2004
++++ configure Wed May 5 11:56:33 2004
+@@ -20220,7 +20220,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-liodbc $LIBS"
++LIBS="-liodbc $LIBS $LTHREAD_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 20226 "configure"
+ #include "confdefs.h"
+@@ -20264,7 +20264,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lodbc $LIBS"
++LIBS="-lodbc $LIBS $LTHREAD_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 20270 "configure"
+ #include "confdefs.h"
diff --git a/net/openldap24-server/files/patch-configure b/net/openldap24-server/files/patch-configure
new file mode 100644
index 000000000000..cf5cf042eb50
--- /dev/null
+++ b/net/openldap24-server/files/patch-configure
@@ -0,0 +1,20 @@
+--- configure.orig Wed May 5 11:55:48 2004
++++ configure Wed May 5 11:56:33 2004
+@@ -20220,7 +20220,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-liodbc $LIBS"
++LIBS="-liodbc $LIBS $LTHREAD_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 20226 "configure"
+ #include "confdefs.h"
+@@ -20264,7 +20264,7 @@
+ echo $ac_n "(cached) $ac_c" 1>&6
+ else
+ ac_save_LIBS="$LIBS"
+-LIBS="-lodbc $LIBS"
++LIBS="-lodbc $LIBS $LTHREAD_LIBS"
+ cat > conftest.$ac_ext <<EOF
+ #line 20270 "configure"
+ #include "confdefs.h"