openbsd-ports/databases/openldap23/patches/patch-configure
2011-01-07 10:17:04 +00:00

31 lines
1.1 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1.1.1 2011/01/07 10:17:04 pea Exp $
--- configure.orig Mon Oct 8 18:38:57 2007
+++ configure Mon Jan 14 11:56:10 2008
@@ -9502,7 +9502,6 @@ openbsd*)
*) need_version=no ;;
esac
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
- finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
shlibpath_var=LD_LIBRARY_PATH
if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
case $host_os in
@@ -35855,8 +35854,8 @@ cat >>conftest.$ac_ext <<_ACEOF
# define DB_VERSION_MINOR 0
#endif
-/* require 4.2-4.5 */
-#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 2) && (DB_VERSION_MINOR < 6)
+/* require 4.2-4.6 */
+#if (DB_VERSION_MAJOR >= 4) && (DB_VERSION_MINOR >= 2) && (DB_VERSION_MINOR < 7)
__db_version_compat
#endif
@@ -37236,6 +37235,7 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/types.h>
#include <tcpd.h>
int allow_severity = 0;
int deny_severity = 0;