openbsd-ports/x11/gnome/libgda/patches/patch-configure
ajacoutot d9ccc8ff9c Update to libgda-4.0.8.
ok jasper@
2010-03-21 09:54:50 +00:00

39 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.9 2010/03/21 09:54:50 ajacoutot Exp $
--- configure.orig Sat Mar 6 13:53:35 2010
+++ configure Sat Mar 6 19:19:34 2010
@@ -18869,7 +18869,6 @@ fi
case $host_cpu in
-x86_64* | sparc64* | s390x* | ppc64* | powerpc64* ) lib="lib64";;
*) lib="lib";;
esac
@@ -18926,7 +18925,6 @@ $as_echo "#define HAVE_BDB 1" >>confdefs.h
BDB_LIBS="-L${bdbdir}/bin -ldb47"
break
fi
-
if test $platform_win32 = no -a -f $d/include/db.h -a -f $d/$lib/libdb$linklibext
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found Berkeley DB in $d" >&5
@@ -18940,8 +18938,7 @@ $as_echo "#define HAVE_BDB 1" >>confdefs.h
BDB_LIBS="-L${bdbdir}/${lib} -ldb"
break
fi
- if test $platform_win32 = no -a -f $d/include/db.h -a -f $d/lib/libdb$linklibext
- then
+ if [ $platform_win32 == "no" ]; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found Berkeley DB in $d" >&5
$as_echo "found Berkeley DB in $d" >&6; }
@@ -19001,7 +18998,7 @@ then
$as_echo_n "checking for ODBC files... " >&6; }
for d in $dir /usr /usr/local
do
- if test -f $d/$lib/libodbc$linklibext -a -f $d/include/sql.h
+ if test -f $d/$lib/libodbc$linklibext* -a -f $d/include/sql.h
then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: found ODBC in $d" >&5
$as_echo "found ODBC in $d" >&6; }