freebsd-ports/www/libwww/files/patch-configure
Pav Lucistnik c0e6077fa2 - Patch the braindead configure script and make the OpenSSL part really work
Fixes:		ports/109728
Reported by:	bf <bf2006a@yahoo.com>
2007-03-10 21:01:48 +00:00

15 lines
439 B
Text

--- configure.orig Wed Jun 12 11:31:31 2002
+++ configure Sat Mar 10 21:51:00 2007
@@ -7612,8 +7612,11 @@
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 > conftest.$ac_ext <<EOF
#line 7619 "configure"
#include "confdefs.h"