summaryrefslogtreecommitdiff
path: root/www/snownews/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'www/snownews/options.mk')
-rw-r--r--www/snownews/options.mk23
1 files changed, 5 insertions, 18 deletions
diff --git a/www/snownews/options.mk b/www/snownews/options.mk
index 47283e2de08..fa71f3b14dc 100644
--- a/www/snownews/options.mk
+++ b/www/snownews/options.mk
@@ -1,25 +1,12 @@
-# $NetBSD: options.mk,v 1.5 2014/09/18 14:54:55 wiz Exp $
+# $NetBSD: options.mk,v 1.6 2017/01/04 15:53:56 roy Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.snownews
PKG_OPTIONS_REQUIRED_GROUPS= screen
-PKG_OPTIONS_GROUP.screen= ncurses ncursesw
+PKG_OPTIONS_GROUP.screen= curses wide-curses
+PLG_OPTIONS_LEGACY_OPTS+= ncurses:curses ncursesw:wide-curses
-PKG_SUGGESTED_OPTIONS= ncurses
+PKG_SUGGESTED_OPTIONS= curses
.include "../../mk/bsd.options.mk"
-
-.if !empty(PKG_OPTIONS:Mncurses)
-USE_NCURSES= YES
-. include "../../devel/ncurses/buildlink3.mk"
-.endif
-
-.if !empty(PKG_OPTIONS:Mncursesw)
-LIBS+= -lncursesw
-SUBST_CLASSES+= configure
-SUBST_MESSAGE.configure= Fixing LDFLAGS for ncursesw
-SUBST_STAGE.configure= pre-configure
-SUBST_FILES.configure= configure
-SUBST_SED.configure= -e 's,-lncurses,-lncursesw,'
-. include "../../devel/ncursesw/buildlink3.mk"
-.endif
+.include "../../mk/curses.buildlink3.mk"