summaryrefslogtreecommitdiff
path: root/www/lynx-current
diff options
context:
space:
mode:
authorfredb <fredb>2000-08-10 18:11:19 +0000
committerfredb <fredb>2000-08-10 18:11:19 +0000
commitf81f56da1e17f4e23d570bde6f80c7f481700f23 (patch)
tree225a5d3ac79ceeb831bc6166e4e22fce6e8f500a /www/lynx-current
parent6c3fb0c8d133915e500d7878df442414eeb8d9fd (diff)
downloadpkgsrc-f81f56da1e17f4e23d570bde6f80c7f481700f23.tar.gz
Oops. Enable IPv6 support, conditionally on "USE_INET6".
Verbosify comments.
Diffstat (limited to 'www/lynx-current')
-rw-r--r--www/lynx-current/Makefile17
1 files changed, 13 insertions, 4 deletions
diff --git a/www/lynx-current/Makefile b/www/lynx-current/Makefile
index 4d100c21bcf..f038863f59c 100644
--- a/www/lynx-current/Makefile
+++ b/www/lynx-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2000/08/07 17:24:23 fredb Exp $
+# $NetBSD: Makefile,v 1.16 2000/08/10 18:11:19 fredb Exp $
#
DISTNAME= lynx2.8.4dev.7
@@ -39,7 +39,7 @@ USE_SSL= yes
INSTALL_TARGET= install-bin install-man install-cfg install-help install-doc
MAKEFILE= makefile
-BUILD_DEFS+= LYNX_SCREEN_LIB USE_SOCKS
+BUILD_DEFS+= LYNX_SCREEN_LIB USE_SOCKS USE_INET6
# For nls/gettext
CONFIGURE_ARGS+= --enable-nls
@@ -104,8 +104,9 @@ post-install:
.include "../../mk/bsd.prefs.mk"
+# Pick a terminal library. Choice affects support for colors, mouse,
+# "color styles", and more. No library supports all features.
LYNX_SCREEN_LIB?= slang
-
.if (${LYNX_SCREEN_LIB} == slang)
DEPENDS+= libslang-*:../../devel/libslang
CONFIGURE_ENV+= LIBS="-lm -ltermcap"
@@ -122,7 +123,7 @@ pre-configure:
.endif
-# Include SOCKS firewall support
+# Include SOCKS firewall support, if desired.
.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5)
.if (${LYNX_SCREEN_LIB} == slang)
pre-configure:
@@ -144,8 +145,16 @@ DEPENDS+= socks5-1.0.2:../../net/socks5
.endif
.endif
+# Do IPV6 on systems which can support it.
+.if defined(USE_INET6) && ${USE_INET6} == YES
+CONFIGURE_ENV+= CPPFLAGS=-DINET6
+.endif
+
.include "../../mk/bsd.pkg.mk"
+# "USE_SSL", set above, pulls in the openssl package, if needed, and
+# "sets SSLBASE", which we use here to tell the package where it needs
+# to look for SSL libs and includes.
.if (${SSLBASE} == /usr)
SSLLIBS= -lssl -lcrypto
SSLINCS= -I/usr/include/openssl