summaryrefslogtreecommitdiffstats
path: root/www/libwww
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-03-10 21:01:48 +0000
committerpav <pav@FreeBSD.org>2007-03-10 21:01:48 +0000
commit76e7febc0ba3a1366800d3182100b80e508cd712 (patch)
tree025f54e2872605d7000eb9e5199b8bce013b0ad5 /www/libwww
parent37856b1fd58ab22e839e8ac74e3abcf3a54ecb59 (diff)
downloadFreeBSD-ports-76e7febc0ba3a1366800d3182100b80e508cd712.zip
FreeBSD-ports-76e7febc0ba3a1366800d3182100b80e508cd712.tar.gz
- Patch the braindead configure script and make the OpenSSL part really work
Fixes: ports/109728 Reported by: bf <bf2006a@yahoo.com>
Diffstat (limited to 'www/libwww')
-rw-r--r--www/libwww/Makefile3
-rw-r--r--www/libwww/files/patch-configure15
2 files changed, 17 insertions, 1 deletions
diff --git a/www/libwww/Makefile b/www/libwww/Makefile
index 4de1a61..eea0f32 100644
--- a/www/libwww/Makefile
+++ b/www/libwww/Makefile
@@ -19,9 +19,10 @@ COMMENT= The W3C Reference Library
USE_AUTOTOOLS= libtool:15
GNU_CONFIGURE= yes
USE_GMAKE= yes
-CONFIGURE_ARGS= --enable-shared --enable-static --with-zlib --with-ssl
+CONFIGURE_ARGS= --enable-shared --enable-static --with-zlib --with-ssl=${OPENSSLBASE}
USE_PERL5_BUILD=yes
USE_LDCONFIG= yes
+USE_OPENSSL= yes
post-patch:
@${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
diff --git a/www/libwww/files/patch-configure b/www/libwww/files/patch-configure
new file mode 100644
index 0000000..5d2695f
--- /dev/null
+++ b/www/libwww/files/patch-configure
@@ -0,0 +1,15 @@
+--- 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"
OpenPOWER on IntegriCloud