diff options
author | scottr <scottr> | 1998-08-01 06:02:07 +0000 |
---|---|---|
committer | scottr <scottr> | 1998-08-01 06:02:07 +0000 |
commit | 4dc28e30f1c52d85e5ba65266343bfd169ec80d5 (patch) | |
tree | d559e662f6d107891a8ff1715dfbdc37a0c07825 /net/ncftp2 | |
parent | a41036314cb58fb7d95b41edc112eda4ac6d570d (diff) | |
download | pkgsrc-4dc28e30f1c52d85e5ba65266343bfd169ec80d5.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 |