summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2017-03-20 00:10:06 +0000
committerroy <roy@pkgsrc.org>2017-03-20 00:10:06 +0000
commitad7fd9fc83c1e951207701cd0cd68554eeec3080 (patch)
treebd8f31f9450232faab66097bd8dbc91ab6e5758e /mk
parentbdd17c1b782d8185e7ae5d4c351ffaec9c82ab10 (diff)
downloadpkgsrc-ad7fd9fc83c1e951207701cd0cd68554eeec3080.tar.gz
Add a test for syncok(3).
Diffstat (limited to 'mk')
-rw-r--r--mk/curses.builtin.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/mk/curses.builtin.mk b/mk/curses.builtin.mk
index 3f4d38d4c00..31aa4fa4354 100644
--- a/mk/curses.builtin.mk
+++ b/mk/curses.builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: curses.builtin.mk,v 1.14 2017/01/05 21:32:39 roy Exp $
+# $NetBSD: curses.builtin.mk,v 1.15 2017/03/20 00:10:06 roy Exp $
BUILTIN_PKG:= curses
@@ -30,6 +30,10 @@ BUILTIN_FIND_FILES_VAR+= H_CURSES_SET_ESCDELAY
BUILTIN_FIND_FILES.H_CURSES_SET_ESCDELAY= ${H_CURSES}
BUILTIN_FIND_GREP.H_CURSES_SET_ESCDELAY= set_escdelay
+BUILTIN_FIND_FILES_VAR+= H_CURSES_SYNCOK
+BUILTIN_FIND_FILES.H_CURSES_SYNCOK= ${H_CURSES}
+BUILTIN_FIND_GREP.H_CURSES_SYNCOK= syncok
+
BUILTIN_FIND_FILES_VAR+= H_CURSES_WA_NORMAL
BUILTIN_FIND_FILES.H_CURSES_WA_NORMAL= ${H_CURSES}
BUILTIN_FIND_GREP.H_CURSES_WA_NORMAL= WA_NORMAL
@@ -113,6 +117,12 @@ USE_BUILTIN.curses= no
USE_BUILTIN.curses= no
. endif
. endif
+# same for syncok(3)
+. if !empty(USE_CURSES:Msyncok)
+. if !empty(H_CURSES_SYNCOK:M__nonexistent__)
+USE_BUILTIN.curses= no
+. endif
+. endif
# same for resize_term(3)
. if !empty(USE_CURSES:Mresize_term)
. if !empty(H_CURSES_RESIZE_TERM:M__nonexistent__)