openbsd-ports/lang/php/5.3/patches/patch-ext_openssl_config0_m4
2012-01-13 18:02:54 +00:00

12 lines
604 B
Plaintext

--- ext/openssl/config0.m4.orig.port Fri Mar 18 18:47:09 2011
+++ ext/openssl/config0.m4 Fri Jan 13 18:01:58 2012
@@ -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])
AC_CHECK_LIB(crypto, X509_free, AC_DEFINE(HAVE_DSA_DEFAULT_METHOD, 1, [OpenSSL 0.9.7 or later]))
PHP_SETUP_OPENSSL(OPENSSL_SHARED_LIBADD,