summaryrefslogtreecommitdiff
path: root/mail/cone
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-20 22:53:49 +0000
committerjlam <jlam@pkgsrc.org>2008-02-20 22:53:49 +0000
commit9f3f83d9c902245fd827a74b2d1267746642fb1a (patch)
tree27d634e4ec76328276ed8329fef95d20974490c2 /mail/cone
parent903b35b09c74efa6e3c2fa2c63ad0429ddfdc60b (diff)
downloadpkgsrc-9f3f83d9c902245fd827a74b2d1267746642fb1a.tar.gz
One second thought, just let "wide-curses" toggle whether or not we use
wide curses or narrow curses. Cone will always need a curses library regardless, so if we're not using one, we're using the other.
Diffstat (limited to 'mail/cone')
-rw-r--r--mail/cone/options.mk20
1 files changed, 7 insertions, 13 deletions
diff --git a/mail/cone/options.mk b/mail/cone/options.mk
index 077234122f9..c6987beb15a 100644
--- a/mail/cone/options.mk
+++ b/mail/cone/options.mk
@@ -1,11 +1,10 @@
-# $NetBSD: options.mk,v 1.5 2008/02/20 22:31:06 jlam Exp $
+# $NetBSD: options.mk,v 1.6 2008/02/20 22:53:49 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cone
-PKG_SUPPORTED_OPTIONS= aspell ldap
-PKG_OPTIONS_REQUIRED_GROUPS= display tls
-PKG_OPTIONS_GROUP.display= curses wide-curses
+PKG_SUPPORTED_OPTIONS= aspell ldap wide-curses
+PKG_OPTIONS_REQUIRED_GROUPS= tls
PKG_OPTIONS_GROUP.tls= gnutls ssl
-PKG_SUGGESTED_OPTIONS= aspell curses ldap ssl
+PKG_SUGGESTED_OPTIONS= aspell ldap ssl
.include "../../mk/bsd.options.mk"
@@ -20,14 +19,6 @@ CONFIGURE_ARGS+= --with-spellcheck=aspell
.endif
###
-### Curses display
-###
-.if !empty(PKG_OPTIONS:Mcurses)
-USE_NCURSES= yes # termattrs()
-. include "../../devel/ncurses/buildlink3.mk"
-.endif
-
-###
### FAM (file alteration monitor) support
###
.if !empty(PKG_OPTIONS:Mfam)
@@ -62,4 +53,7 @@ CONFIGURE_ARGS+= --with-gnutls
.if !empty(PKG_OPTIONS:Mwide-curses)
USE_NCURSESW= yes # termattrs()
. include "../../devel/ncursesw/buildlink3.mk"
+.else
+USE_NCURSES= yes # termattrs()
+. include "../../devel/ncurses/buildlink3.mk"
.endif