pkgsrc-Changes archive

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

CVS commit: pkgsrc/mk



Module Name:    pkgsrc
Committed By:   roy
Date:           Mon Mar 20 00:10:06 UTC 2017

Modified Files:
        pkgsrc/mk: curses.builtin.mk

Log Message:
Add a test for syncok(3).


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/mk/curses.builtin.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/mk/curses.builtin.mk
diff -u pkgsrc/mk/curses.builtin.mk:1.14 pkgsrc/mk/curses.builtin.mk:1.15
--- pkgsrc/mk/curses.builtin.mk:1.14    Thu Jan  5 21:32:39 2017
+++ pkgsrc/mk/curses.builtin.mk Mon Mar 20 00:10:06 2017
@@ -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_
 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__)



Home | Main Index | Thread Index | Old Index