summaryrefslogtreecommitdiff
path: root/www/lynx-current
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2000-04-27 06:46:02 +0000
committertron <tron@pkgsrc.org>2000-04-27 06:46:02 +0000
commitffbd48cf42b6cec57ae4f26ad09881f2e8e6eb77 (patch)
tree0c5a6b9cf361cea843d1dd06c9e3f3efffcdce4a /www/lynx-current
parenta844077535aae2ee18f6fba74861f8288cceb769 (diff)
downloadpkgsrc-ffbd48cf42b6cec57ae4f26ad09881f2e8e6eb77.tar.gz
Switch to "USE_SSL".
Diffstat (limited to 'www/lynx-current')
-rw-r--r--www/lynx-current/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index be347fb8660..1bbf7acdfc2 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2000/04/22 05:34:05 fredb Exp $
+# $NetBSD: Makefile,v 1.6 2000/04/27 06:46:02 tron Exp $
#
DISTNAME= lynx2.8.3pre.7
@@ -23,6 +23,7 @@ RESTRICTED= "Crypto; export-controlled"
WRKSRC= ${WRKDIR}/lynx2-8-3
GNU_CONFIGURE= yes
+USE_SSL= yes
INSTALL_TARGET= install-full
MAKEFILE= makefile
@@ -57,15 +58,6 @@ CONFIGURE_ARGS+= --enable-justify-elts
CONFIGURE_ARGS+= --enable-prettysrc
CONFIGURE_ARGS+= --enable-read-eta
-.if !exists(/usr/bin/openssl)
-DEPENDS+= openssl>=0.9.4:../../security/openssl
-SSLLIBS= -L${LOCALBASE}/lib -Wl,-R${LOCALBASE} -lssl -lcrypto
-SSLINCS= -I${LOCALBASE}/include -I${LOCALBASE}/include/openssl
-.else
-SSLLIBS= -lssl -lcrypto
-SSLINCS= -I/usr/include/openssl
-.endif
-
post-configure:
(${ECHO}; \
${ECHO} '#undef LYNX_CFG_FILE'; \
@@ -92,3 +84,11 @@ post-install:
fi
.include "../../mk/bsd.pkg.mk"
+
+.if (${SSLBASE} == /usr)
+SSLLIBS= -lssl -lcrypto
+SSLINCS= -I/usr/include/openssl
+.else
+SSLLIBS= -L${SSLBASE}/lib -Wl,-R${SSLBASE}/lib -lssl -lcrypto
+SSLINCS= -I${SSLBASE}/include -I${SSLBASE}/include/openssl
+.endif