pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/nvi Add widechar support. From L. Schmidt in P...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21e8b9a22d54
branches:  trunk
changeset: 532980:21e8b9a22d54
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Sep 05 23:05:13 2007 +0000

description:
Add widechar support. From L. Schmidt in PR 36895.

diffstat:

 editors/nvi/Makefile   |   5 +++--
 editors/nvi/options.mk |  14 ++++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 43bcfa078b65 -r 21e8b9a22d54 editors/nvi/Makefile
--- a/editors/nvi/Makefile      Wed Sep 05 21:59:41 2007 +0000
+++ b/editors/nvi/Makefile      Wed Sep 05 23:05:13 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2007/06/04 14:45:47 schmonz Exp $
+# $NetBSD: Makefile,v 1.25 2007/09/05 23:05:13 wiz Exp $
 #
 
 DISTNAME=      nvi-1.81.5
@@ -11,6 +11,8 @@
 HOMEPAGE=      http://www.kotnet.org/~skimo/nvi/devel/
 COMMENT=       Berkeley nvi with additional features
 
+.include "options.mk"
+
 .include "../../mk/bsd.prefs.mk"
 
 .if ${OPSYS} == "NetBSD"
@@ -37,5 +39,4 @@
 USE_LIBTOOL=           YES
 
 .include "../../databases/db3/buildlink3.mk"
-.include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 43bcfa078b65 -r 21e8b9a22d54 editors/nvi/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/nvi/options.mk    Wed Sep 05 23:05:13 2007 +0000
@@ -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



Home | Main Index | Thread Index | Old Index