summaryrefslogtreecommitdiff
path: root/www/lynx
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2007-01-16 07:06:38 +0000
committerwiz <wiz@pkgsrc.org>2007-01-16 07:06:38 +0000
commit7efbcfd947731567bd34fd25c07a9304b81dc977 (patch)
treea69f7a3643c8e7cf31e3df1343d5133fbc2316b1 /www/lynx
parent3de5c27e0d10337a5ba7066d621c801a540c27f7 (diff)
downloadpkgsrc-7efbcfd947731567bd34fd25c07a9304b81dc977.tar.gz
Add ncursesw support based on patches by Christian Biere.
Diffstat (limited to 'www/lynx')
-rw-r--r--www/lynx/options.mk11
1 files changed, 9 insertions, 2 deletions
diff --git a/www/lynx/options.mk b/www/lynx/options.mk
index d9bad0e43c1..ef0d68c3c3a 100644
--- a/www/lynx/options.mk
+++ b/www/lynx/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.7 2006/02/06 19:37:49 tv Exp $
+# $NetBSD: options.mk,v 1.8 2007/01/16 07:06:38 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.lynx
PKG_SUPPORTED_OPTIONS= inet6
@@ -8,7 +8,7 @@ PKG_OPTIONS_OPTIONAL_GROUPS= socksproxy
PKG_OPTIONS_GROUP.socksproxy= socks5 socks4
PKG_OPTIONS_REQUIRED_GROUPS= screen
-PKG_OPTIONS_GROUP.screen= ncurses slang curses
+PKG_OPTIONS_GROUP.screen= ncurses ncursesw slang curses
.include "../../mk/bsd.options.mk"
@@ -36,6 +36,13 @@ USE_NCURSES= color
. include "../../devel/ncurses/buildlink3.mk"
CONFIGURE_ARGS+= --enable-color-style
.endif
+.if !empty(PKG_OPTIONS:Mncursesw)
+SCREENTYPE= ncurses
+USE_NCURSES= color
+LIBS+= -lncursesw
+. include "../../devel/ncursesw/buildlink3.mk"
+CONFIGURE_ARGS+= --enable-color-style
+.endif
.if !empty(PKG_OPTIONS:Mcurses)
SCREENTYPE= curses
. include "../../mk/curses.buildlink3.mk"