diff options
author | obache <obache@pkgsrc.org> | 2013-02-16 09:32:29 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2013-02-16 09:32:29 +0000 |
commit | b9afb2508ffbd90087387ef2012c2d00982369ed (patch) | |
tree | ed79cc10e442dccd1a3d5443cdaa9040978c74a3 /net/tnftp | |
parent | f22d560dccf841415a224a4e59af8260e0857cca (diff) | |
download | pkgsrc-b9afb2508ffbd90087387ef2012c2d00982369ed.tar.gz |
check usability of builtin termcap if FETCH_USING=ftp
to avoid circular dependency with termcap from pkgsrc (devel/ncurses).
Diffstat (limited to 'net/tnftp')
-rw-r--r-- | net/tnftp/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/net/tnftp/Makefile b/net/tnftp/Makefile index 7b99bd86c91..4da4126481b 100644 --- a/net/tnftp/Makefile +++ b/net/tnftp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 2012/10/31 04:54:40 asau Exp $ +# $NetBSD: Makefile,v 1.30 2013/02/16 09:32:29 obache Exp $ DISTNAME= tnftp-20070806 SVR4_PKGNAME= tnftp @@ -42,5 +42,16 @@ CHECK_BUILTIN.readline:= no USE_BUILTIN.termcap?= yes .endif +# Check usability of builtin termcap if FETCH_USING=ftp +# to avoid circular dependency with termcap from pkgsrc (devel/ncurses). +CHECK_BUILTIN.termcap:= yes +.include "../../mk/termcap.builtin.mk" +CHECK_BUILTIN.termcap:= no + +.if !empty(FETCH_USING:Mftp) && !empty(USE_BUILTIN.termcap:M[Nn][Oo]) +CONFIGURE_ARGS+= --disable-editcomplete +.else .include "../../mk/termcap.buildlink3.mk" +.endif + .include "../../mk/bsd.pkg.mk" |