summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorapb <apb>2013-10-10 08:56:34 +0000
committerapb <apb>2013-10-10 08:56:34 +0000
commit139432896f7493f489e3af650ccbffb94950989a (patch)
treed3f6949bd899ff3d13e549e0aca056a7dc802024
parent113cc430f23f5ae30e0b0147225bfdfb9e342316 (diff)
downloadpkgsrc-139432896f7493f489e3af650ccbffb94950989a.tar.gz
bvi calls tgetstr(), so it needs to link against libtermcap.
Don't assume that linking against libcurses will be sufficient.
-rw-r--r--editors/bvi/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/editors/bvi/Makefile b/editors/bvi/Makefile
index 3d1aa055dff..0e2deee9a28 100644
--- a/editors/bvi/Makefile
+++ b/editors/bvi/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.24 2012/10/03 11:43:31 asau Exp $
+# $NetBSD: Makefile,v 1.25 2013/10/10 08:56:34 apb Exp $
#
DISTNAME= bvi-1.3.2.src
PKGNAME= bvi-1.3.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bvi/}
@@ -13,9 +13,11 @@ COMMENT= Vi-like editor for binary files
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
GNU_CONFIGURE= YES
+LIBS+= ${BUILDLINK_LDADD.termcap}
MAKE_ENV+= SHELL=${SH:Q}
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../mk/curses.buildlink3.mk"
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"