summaryrefslogtreecommitdiff
path: root/devel/ncurses
diff options
context:
space:
mode:
authordrochner <drochner>2010-02-24 12:08:07 +0000
committerdrochner <drochner>2010-02-24 12:08:07 +0000
commit0494cb6cedc84e63bfb93f3a9f94658e9eed750b (patch)
tree08c4c7dec67ebc2ca0a42ec15f30b0ccae88749c /devel/ncurses
parent3c7aa0e67f255688e587596620617e2f60eb0ab1 (diff)
downloadpkgsrc-0494cb6cedc84e63bfb93f3a9f94658e9eed750b.tar.gz
oops, the simple case USE_NCURSES=yes got lost, add it as separate
clause for readability
Diffstat (limited to 'devel/ncurses')
-rw-r--r--devel/ncurses/builtin.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/ncurses/builtin.mk b/devel/ncurses/builtin.mk
index bb830db497a..4aa9a765462 100644
--- a/devel/ncurses/builtin.mk
+++ b/devel/ncurses/builtin.mk
@@ -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 @@ MAKEVARS+= USE_BUILTIN.ncurses
# 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