diff options
author | scottr <scottr@pkgsrc.org> | 1998-08-01 06:02:07 +0000 |
---|---|---|
committer | scottr <scottr@pkgsrc.org> | 1998-08-01 06:02:07 +0000 |
commit | 7b4e8899e118f77d62b3f37d3b31dee1782d5c57 (patch) | |
tree | d559e662f6d107891a8ff1715dfbdc37a0c07825 /net/ncftp2 | |
parent | 3be678a180d5d7240120dd4630004ff33eddb3e6 (diff) | |
download | pkgsrc-7b4e8899e118f77d62b3f37d3b31dee1782d5c57.tar.gz |
Enable SOCKS support.
Diffstat (limited to 'net/ncftp2')
-rw-r--r-- | net/ncftp2/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/net/ncftp2/Makefile b/net/ncftp2/Makefile index 09499e417b8..8994fe5c93f 100644 --- a/net/ncftp2/Makefile +++ b/net/ncftp2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1998/06/22 12:58:34 agc Exp $ +# $NetBSD: Makefile,v 1.9 1998/08/01 06:02:07 scottr Exp $ # FreeBSD Id: Makefile,v 1.39 1998/01/31 17:49:48 jseger Exp # @@ -13,6 +13,20 @@ DEPENDS+= ncurses-1.9.9g:../../devel/ncurses GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-readline +.include "../../mk/bsd.prefs.mk" + +# Include SOCKS firewall support +.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5) +CFLAGS+= -I${PREFIX}/include +.if ${USE_SOCKS} == 4 +CONFIGURE_ARGS+= --enable-socks +DEPENDS+= socks4-2.2:../../net/socks4 +.else +CONFIGURE_ARGS+= --enable-socks5 +DEPENDS+= socks5-1.0.2:../../net/socks5 +.endif +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ncftp ${PREFIX}/bin/ncftp2 ${INSTALL_MAN} ${WRKSRC}/ncftp.1 ${PREFIX}/man/man1/ncftp2.1 |