- Patch the braindead configure script and make the OpenSSL part really work

Fixes:		ports/109728
Reported by:	bf <bf2006a@yahoo.com>
This commit is contained in:
Pav Lucistnik 2007-03-10 21:01:48 +00:00
parent 4d5da45357
commit c0e6077fa2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=187078
2 changed files with 17 additions and 1 deletions

View file

@ -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|' \

View file

@ -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"