ports/security/pks/files/patch-configure
Alexey Dokuchaev d3be3768fa security/pks: the port had been further improved (+)
- Simplify Berkeley DB detection (rather than completely deleting
  the corresponding configure script section, assume that if user
  passes DBHDR she knows what she's doing and trust that value)
- Fix a harmless typo RSA_get0_p() -> DSA_get0_p() in the previous
  commit 6074b736de
- GC some more needless variables (MAKE_ENV, LDFLAGS) and enable
  IPv6 while I'm here
2023-03-10 04:01:40 +00:00

22 lines
832 B
Text

--- configure.orig 2004-01-17 23:19:56 UTC
+++ configure
@@ -2536,15 +2536,16 @@ echo $ECHO_N "checking for Berkeley DB... $ECHO_C" >&6
# Check whether --with-db or --without-db was given.
if test "${with_db+set}" = set; then
withval="$with_db"
- DBINC=NO
- DBLIB=NO
- DBHDR=NO
S=1
case "$withval" in
yes|no)
+ if test -z "$DBHDR" ; then
{ { echo "$as_me:$LINENO: error: Berkeley DB was not found. Please check your installation or use --with-db=PATH" >&5
echo "$as_me: error: Berkeley DB was not found. Please check your installation or use --with-db=PATH" >&2;}
{ (exit 1); exit 1; }; }
+ fi
+ echo "$as_me:$LINENO: result: $DBHDR (${DBINC:-default location})" >&5
+ echo "${ECHO_T}$DBHDR (${DBINC:-default location})" >&6
;;
*)
echo "$as_me:$LINENO: result: $withval" >&5