opnsense-ports/www/libwww/files/patch-configure
Franco Fichtner b44200ae75 */*: sync with upstream
Taken from: HardenedBSD
2018-07-06 14:35:17 +02:00

15 lines
430 B
Text

--- configure.orig 2018-07-04 23:24:12 UTC
+++ configure
@@ -16416,8 +16416,11 @@ $as_echo "no" >&6; }
if test "x$withval" = "xyes"; then
withval=$ssllib
SSLINC=$sslinc
+ LIBS="$LIBS $withval"
+ else
+ SSLINC="-I$withval/include/openssl"
+ LIBS="$LIBS -L$withval/lib -lssl -lcrypto"
fi
- LIBS="$LIBS $withval"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */