diff options
author | 2011-12-01 02:04:41 +0000 | |
---|---|---|
committer | 2011-12-01 02:04:41 +0000 | |
commit | d4e5e59595d1c748021a6554d159b9c0bb4e94e5 (patch) | |
tree | 6de2aa7f03f58b29c26ab8107e3560ba7c29c618 /net-misc/wget/files | |
parent | Initial commit (diff) | |
download | historical-d4e5e59595d1c748021a6554d159b9c0bb4e94e5.tar.gz historical-d4e5e59595d1c748021a6554d159b9c0bb4e94e5.tar.bz2 historical-d4e5e59595d1c748021a6554d159b9c0bb4e94e5.zip |
Switch to pkg-config for looking up openssl #246556 by Rick Farina.
Package-Manager: portage-2.2.0_alpha75/cvs/Linux x86_64
Diffstat (limited to 'net-misc/wget/files')
-rw-r--r-- | net-misc/wget/files/wget-1.13.4-openssl-pkg-config.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-misc/wget/files/wget-1.13.4-openssl-pkg-config.patch b/net-misc/wget/files/wget-1.13.4-openssl-pkg-config.patch new file mode 100644 index 000000000000..c052b4a189e3 --- /dev/null +++ b/net-misc/wget/files/wget-1.13.4-openssl-pkg-config.patch @@ -0,0 +1,30 @@ +detect openssl via pkg-config if it's available + +--- a/configure.ac ++++ b/configure.ac +@@ -234,7 +234,16 @@ dnl + dnl Checks for libraries. + dnl + ++PKG_PROG_PKG_CONFIG ++ + AS_IF([test x"$with_ssl" = xopenssl], [ ++ PKG_CHECK_MODULES([OPENSSL], [openssl], [ ++ AC_MSG_NOTICE([compiling in support for SSL via OpenSSL]) ++ AC_LIBOBJ([openssl]) ++ LIBS="$OPENSSL_LIBS $LIBS" ++ CFLAGS="$OPENSSL_CFLAGS -DHAVE_LIBSSL $CFLAGS" ++ ], [ ++ + dnl some versions of openssl use zlib compression + AC_CHECK_LIB(z, compress) + +@@ -294,6 +303,8 @@ AS_IF([test x$ssl_found != xyes], + + ]) + ++]) ++ + ], [ + # --with-ssl is not gnutls: check if it's no + AS_IF([test x"$with_ssl" != xno], [ |