pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Add a test for syncok(3).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/65534e225ec6
branches:  trunk
changeset: 359849:65534e225ec6
user:      roy <roy%pkgsrc.org@localhost>
date:      Mon Mar 20 00:10:06 2017 +0000

description:
Add a test for syncok(3).

diffstat:

 mk/curses.builtin.mk |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (33 lines):

diff -r 5fbdbb5659cb -r 65534e225ec6 mk/curses.builtin.mk
--- a/mk/curses.builtin.mk      Sun Mar 19 22:59:50 2017 +0000
+++ b/mk/curses.builtin.mk      Mon Mar 20 00:10:06 2017 +0000
@@ -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.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
 .    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__)



Home | Main Index | Thread Index | Old Index