openbsd-ports/databases/db/patches/patch-dist_configure
2002-10-28 16:22:24 +00:00

30 lines
1.0 KiB
Plaintext

$OpenBSD: patch-dist_configure,v 1.3 2002/10/28 16:22:24 brad Exp $
--- dist/configure.orig Mon Jul 31 19:58:18 2000
+++ dist/configure Fri Aug 31 16:03:44 2001
@@ -1602,7 +1602,6 @@ echo "configure:1601: checking libtool c
${CONFIG_SHELL-/bin/sh} $srcdir/ltconfig \
--no-verify $srcdir/ltmain.sh \
--output=./libtool $host_os \
- --disable-static \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
SOSUFFIX=`sed -e '/^library_names_spec=/!d' -e 's/.*\.\([a-zA-Z0-9_]*\).*/\1/' ./libtool`
@@ -1617,7 +1616,7 @@ echo "configure:1601: checking libtool c
INSTALLER="\$(LIBTOOL) --mode=install cp"
POSTLINK="\$(LIBTOOL) --mode=execute true"
- SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -avoid-version"
+ SOLINK="\$(LIBTOOL) --mode=link ${SAVE_CC} -version-info @DB_VERSION_MAJOR@:@DB_VERSION_MINOR@"
SOFLAGS="-rpath \$(libdir)"
o=".lo"
fi
@@ -3911,7 +3910,7 @@
#line 3912 "configure"
#include "confdefs.h"
main(){
-#if defined(i386)
+#if defined(__i386__)
#if defined(__GNUC__)
exit(0);
#endif