2011-10-26 22:31:27 +00:00

36 lines
1.6 KiB
Plaintext

$OpenBSD: patch-configure,v 1.22 2011/10/26 22:31:27 ajacoutot Exp $
- Don't do bash pattern substitutions.
- Stupid configure is stupid, just work around the mess by setting
the values we know are correct.
--- configure.orig Wed Oct 26 20:46:12 2011
+++ configure Wed Oct 26 23:33:08 2011
@@ -20216,9 +20216,9 @@ $as_echo_n "checking if gobject-introspection is corre
INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
- INTROSPECTION_GIRDIR=${INTROSPECTION_GIRDIR/$datadir/\$(datadir)}
+ INTROSPECTION_GIRDIR=`echo ${INTROSPECTION_GIRDIR} | sed -e 's,$datadir,\$\(datadir\),g'`
INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
- INTROSPECTION_TYPELIBDIR=${INTROSPECTION_TYPELIBDIR/$libdir/\$(libdir)}
+ INTROSPECTION_TYPELIBDIR=`echo ${INTROSPECTION_TYPELIBDIR} | sed -e 's,$libdir,\$\($libdir\),g'`
INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
INTROSPECTION_MAKEFILE=$introspection_makefile
@@ -21146,6 +21146,13 @@ $as_echo "$as_me: BDB backend not used" >&6;}
bdb_found=yes
fi
fi
+
+# XXX
+bdb_found=yes
+BDB_CFLAGS=-I${bdbdir}/include/db4
+BDB_LIBS="-L${bdbdir}/lib -ldb"
+BDB_LIB="-ldb"
+BDB_DIR="$bdbdir"
if test "$bdb_found" = "yes"; then
BDB_TRUE=