openbsd-ports/www/php5/patches/patch-ext_openssl_config0_m4

13 lines
586 B
Plaintext
Raw Normal View History

$OpenBSD: patch-ext_openssl_config0_m4,v 1.2 2011/06/18 19:49:22 sthen Exp $
--- ext/openssl/config0.m4.orig.port Sun Jan 7 18:38:22 2007
+++ ext/openssl/config0.m4 Sat Jun 18 12:14:54 2011
@@ -16,7 +16,7 @@ if test "$PHP_OPENSSL" != "no"; then
PHP_SETUP_KERBEROS(OPENSSL_SHARED_LIBADD)
fi
- AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
+ AC_CHECK_LIB(ssl, DSA_get_default_method, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]),, [-lcrypto])
PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,
[