openbsd-ports/databases/db/v4/patches/patch-dist_configure

45 lines
1.7 KiB
Plaintext

$OpenBSD: patch-dist_configure,v 1.1.1.1 2003/12/08 17:37:52 sturm Exp $
--- dist/configure.orig Thu Dec 19 10:55:03 2002
+++ dist/configure Sat Jan 11 20:39:05 2003
@@ -5102,6 +5102,7 @@ openbsd*)
else
lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
fi
+ lt_cv_deplibs_check_method=pass_all
;;
osf3* | osf4* | osf5*)
@@ -8013,8 +8014,8 @@ nto-qnx)
openbsd*)
version_type=sunos
- need_lib_prefix=no
- need_version=no
+ need_lib_prefix=yes
+ need_version=yes
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
case "$host_os" in
openbsd2.[89] | openbsd2.[89].*)
@@ -9552,10 +9553,10 @@ echo "${ECHO_T}$JMODSUFFIX" >&6
INSTALLER="\$(LIBTOOL) --mode=install cp -p"
MAKEFILE_CC="\$(LIBTOOL) --mode=compile ${MAKEFILE_CC}"
-MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -avoid-version"
+MAKEFILE_SOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK} -version-info ${DB_VERSION_MAJOR}:${DB_VERSION_MINOR}"
MAKEFILE_CCLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CCLINK}"
MAKEFILE_CXX="\$(LIBTOOL) --mode=compile ${MAKEFILE_CXX}"
-MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -avoid-version"
+MAKEFILE_XSOLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK} -version-info ${DB_VERSION_MAJOR}:${DB_VERSION_MINOR}"
MAKEFILE_CXXLINK="\$(LIBTOOL) --mode=link ${MAKEFILE_CXXLINK}"
# Configure for shared libraries, static libraries, or both. If both are
@@ -10364,7 +10365,7 @@ fi
# Optional utilities.
if test "$db_cv_dump185" = "yes"; then
- ADDITIONAL_PROGS="db_dump185 $ADDITIONAL_PROGS"
+ ADDITIONAL_PROGS="db4_dump185 $ADDITIONAL_PROGS"
fi
# Checks for compiler characteristics.