diff options
author | wiz <wiz@pkgsrc.org> | 2007-09-05 23:05:13 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-09-05 23:05:13 +0000 |
commit | fe98c45325e65e910c3c890fde0d4535c2c57177 (patch) | |
tree | 88fe459c32db734a2d01ea155fcdf45a11f5d3ee /editors | |
parent | 5ae3d4f881540bded5968036ddb2997a8efae0cf (diff) | |
download | pkgsrc-fe98c45325e65e910c3c890fde0d4535c2c57177.tar.gz |
Add widechar support. From L. Schmidt in PR 36895.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/nvi/Makefile | 5 | ||||
-rw-r--r-- | editors/nvi/options.mk | 14 |
2 files changed, 17 insertions, 2 deletions
diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile index 198d5c1fd84..ba28b55aaab 100644 --- a/editors/nvi/Makefile +++ b/editors/nvi/Makefile @@ -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 @@ MAINTAINER= pkgsrc-users@NetBSD.org 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_TOOLS+= sh USE_LIBTOOL= YES .include "../../databases/db3/buildlink3.mk" -.include "../../mk/curses.buildlink3.mk" .include "../../mk/bsd.pkg.mk" 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 |