summaryrefslogtreecommitdiff
path: root/editors/nvi/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-09-05 23:05:13 +0000
committerwiz <wiz@pkgsrc.org>2007-09-05 23:05:13 +0000
commitfdaa2f8fd1d412f719f1d17106342423fd2167d1 (patch)
tree88fe459c32db734a2d01ea155fcdf45a11f5d3ee /editors/nvi/options.mk
parent16998234e3bce4ee82801bf3245a3746eed7f4bb (diff)
downloadpkgsrc-fdaa2f8fd1d412f719f1d17106342423fd2167d1.tar.gz
Add widechar support. From L. Schmidt in PR 36895.
Diffstat (limited to 'editors/nvi/options.mk')
-rw-r--r--editors/nvi/options.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/editors/nvi/options.mk b/editors/nvi/options.mk
new file mode 100644
index 00000000000..ca764a54897
--- /dev/null
+++ b/editors/nvi/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2007/09/05 23:05:13 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.nvi
+PKG_SUPPORTED_OPTIONS= ncursesw
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mncursesw)
+. include "../../devel/ncursesw/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-widechar
+#CONFIGURE_ARGS+= --with-curses=${BUILDLINK_PREFIX.ncursesw}
+.else
+. include "../../mk/curses.buildlink3.mk"
+.endif