diff options
author | scottr <scottr@pkgsrc.org> | 2000-04-07 18:52:25 +0000 |
---|---|---|
committer | scottr <scottr@pkgsrc.org> | 2000-04-07 18:52:25 +0000 |
commit | 44b9b3b7abff0e5d64624e0604bb82cf900d04d3 (patch) | |
tree | 23db10e12a09f428f5ccfdb100c00760bde8dd4c /www/lynx/Makefile | |
parent | 482037da84ba194b109201d3436245383e499f48 (diff) | |
download | pkgsrc-44b9b3b7abff0e5d64624e0604bb82cf900d04d3.tar.gz |
Add support for SOCKS versions 4 and 5.
Diffstat (limited to 'www/lynx/Makefile')
-rw-r--r-- | www/lynx/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile index 8ec7cf9a208..b7a2a487766 100644 --- a/www/lynx/Makefile +++ b/www/lynx/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2000/01/15 17:37:53 hubertf Exp $ +# $NetBSD: Makefile,v 1.25 2000/04/07 18:52:25 scottr Exp $ # DISTNAME= lynx2-8-2 @@ -24,6 +24,18 @@ CONFIGURE_ENV+= LIBS="-lm -ltermcap" CPPFLAGS="-Dunix -DNOPORT" CONFIGURE_ENV+= LIBS="-lm -ltermcap" CPPFLAGS=-Dunix .endif +# Include SOCKS firewall support +.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5) +CONFIGURE_ENV+= CFLAGS=-I${PREFIX}/include # XXX +.if ${USE_SOCKS} == 4 +CONFIGURE_ARGS+= --with-socks +DEPENDS+= socks4-2.2:../../net/socks4 +.else +CONFIGURE_ARGS+= --with-socks5 +DEPENDS+= socks5-1.0.2:../../net/socks5 +.endif +.endif + # The patches for this code are from the KAME project: # ftp://ftp.kame.net/pub/kame/misc/lynx-282-v6-19991008b.diff.gz .include "../../mk/bsd.prefs.mk" |