summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2020-06-29 19:30:04 +0000
committerleot <leot@pkgsrc.org>2020-06-29 19:30:04 +0000
commit3b85d4d7951c456e112857b50c8c68065b57ed1c (patch)
tree5ebaec6ac999a900111cec17aaf706e7700e8edb /editors
parentf480ae97f485a2f14adb10a09a667c1d9bd3dbe2 (diff)
downloadpkgsrc-3b85d4d7951c456e112857b50c8c68065b57ed1c.tar.gz
nvi: Always depends on curses
nvi is unconditionally linked against the curses library.
Diffstat (limited to 'editors')
-rw-r--r--editors/nvi/Makefile3
-rw-r--r--editors/nvi/options.mk3
2 files changed, 3 insertions, 3 deletions
diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile
index aafce034552..e37ac1e8c91 100644
--- a/editors/nvi/Makefile
+++ b/editors/nvi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2020/05/31 16:29:54 rillig Exp $
+# $NetBSD: Makefile,v 1.56 2020/06/29 19:30:04 leot Exp $
DISTNAME= nvi-1.81.6
PKGREVISION= 13
@@ -48,4 +48,5 @@ pre-configure:
${CHMOD} 755 configure && \
aclocal -I m4 && autoheader && autoconf
+.include "../../mk/curses.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/editors/nvi/options.mk b/editors/nvi/options.mk
index e3672985bbb..71c1a0d559a 100644
--- a/editors/nvi/options.mk
+++ b/editors/nvi/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2020/06/29 18:53:26 leot Exp $
+# $NetBSD: options.mk,v 1.6 2020/06/29 19:30:04 leot Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nvi
PKG_SUPPORTED_OPTIONS+= wide-curses
@@ -11,6 +11,5 @@ PKG_LEGACY_OPTS+= ncursesw:wide-curses
### Wide curses support
###
.if !empty(PKG_OPTIONS:Mwide-curses)
-. include "../../mk/curses.buildlink3.mk"
CONFIGURE_ARGS+= --enable-widechar
.endif