openbsd-ports/databases/pgadmin3/patches/patch-configure

22 lines
727 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.3 2011/11/03 14:27:05 nigel Exp $
--- configure.orig Thu Sep 8 17:41:11 2011
+++ configure Sat Oct 22 13:33:27 2011
@@ -5401,7 +5401,7 @@ if ${ac_cv_lib_ssl_SSL_library_init+:} false; then :
2009-08-14 05:22:20 -04:00
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lssl $LIBS"
+LIBS="-lcrypto -lssl $LIBS"
2010-04-28 07:23:33 -04:00
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -5868,7 +5868,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
2009-08-14 05:22:20 -04:00
if test "$PG_SSL" = "yes"
then
- LIBS="${PG_LIB}/libpq.a $CRYPT_LIB $LIBS -lssl $CRYPTO_LIB"
+ LIBS="${PG_LIB}/libpq.a $CRYPT_LIB $LIBS -lcrypto -lssl $CRYPTO_LIB"
else
LIBS="${PG_LIB}/libpq.a $CRYPT_LIB $LIBS $CRYPTO_LIB"
fi