pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ncurses oops, the simple case USE_NCURSES=yes go...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1b86133fa6fb
branches:  trunk
changeset: 572345:1b86133fa6fb
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Feb 24 12:08:07 2010 +0000

description:
oops, the simple case USE_NCURSES=yes got lost, add it as separate
clause for readability

diffstat:

 devel/ncurses/builtin.mk |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r b4bb3dddbccf -r 1b86133fa6fb devel/ncurses/builtin.mk
--- a/devel/ncurses/builtin.mk  Wed Feb 24 03:41:16 2010 +0000
+++ b/devel/ncurses/builtin.mk  Wed Feb 24 12:08:07 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.26 2010/02/23 19:50:49 drochner Exp $
+# $NetBSD: builtin.mk,v 1.27 2010/02/24 12:08:07 drochner Exp $
 
 BUILTIN_PKG:=  ncurses
 
@@ -97,13 +97,16 @@
 
 # If USE_NCURSES is set to yes, the use of an ncurses implementation
 # is forced.
-#
+.if defined(USE_NCURSES) && !empty(USE_NCURSES:M[yY][eE][sS])
+USE_BUILTIN.ncurses=   no
+.endif
 # If it is set to chgat, a curses implementation with chgat(3) support
 # is considered good enough.
 .if defined(USE_NCURSES) && empty(USE_NCURSES:M[yY][eE][sS])
 .  if !empty(USE_NCURSES:Mchgat) && !empty(H_CURSES:M__nonexistent__)
 USE_BUILTIN.ncurses=   no
 .  endif
+# same for wsyncup(3)
 .  if !empty(USE_NCURSES:Mwsyncup) && !empty(H_CURSES1:M__nonexistent__)
 USE_BUILTIN.ncurses=   no
 .  endif



Home | Main Index | Thread Index | Old Index