openbsd-ports/editors/ldapvi/patches/patch-configure
2007-06-28 14:39:14 +00:00

30 lines
823 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2007/06/28 14:39:14 ajacoutot Exp $
--- configure.orig Thu Jun 28 16:34:08 2007
+++ configure Thu Jun 28 16:34:57 2007
@@ -5032,13 +5032,13 @@ done
-{ echo "$as_me:$LINENO: checking for main in -lcrypt" >&5
-echo $ECHO_N "checking for main in -lcrypt... $ECHO_C" >&6; }
+{ echo "$as_me:$LINENO: checking for main in -lcrypto" >&5
+echo $ECHO_N "checking for main in -lcrypto... $ECHO_C" >&6; }
if test "${ac_cv_lib_crypt_main+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lcrypt $LIBS"
+LIBS="-lcrypto $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -5092,7 +5092,7 @@ if test $ac_cv_lib_crypt_main = yes; then
#define HAVE_LIBCRYPT 1
_ACEOF
- LIBS="-lcrypt $LIBS"
+ LIBS="-lcrypto $LIBS"
fi