pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/cone One second thought, just let "wide-curses" t...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/190b5322b628
branches:  trunk
changeset: 538918:190b5322b628
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Feb 20 22:53:49 2008 +0000

description:
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:

 mail/cone/options.mk |  20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)

diffs (42 lines):

diff -r f6b4b6eb5087 -r 190b5322b628 mail/cone/options.mk
--- a/mail/cone/options.mk      Wed Feb 20 22:49:38 2008 +0000
+++ b/mail/cone/options.mk      Wed Feb 20 22:53:49 2008 +0000
@@ -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 @@
 .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 @@
 .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



Home | Main Index | Thread Index | Old Index