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:           Thu Jan  5 21:32:39 UTC 2017

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 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.13 pkgsrc/mk/curses.builtin.mk:1.14
--- pkgsrc/mk/curses.builtin.mk:1.13    Thu Jan  5 21:19:24 2017
+++ pkgsrc/mk/curses.builtin.mk Thu Jan  5 21:32:39 2017
@@ -1,46 +1,50 @@
-# $NetBSD: curses.builtin.mk,v 1.13 2017/01/05 21:19:24 roy Exp $
+# $NetBSD: curses.builtin.mk,v 1.14 2017/01/05 21:32:39 roy Exp $
 
 BUILTIN_PKG:=  curses
 
-BUILTIN_FIND_LIBS:=                    curses
-BUILTIN_FIND_HEADERS_VAR:=             H_CURSES
-BUILTIN_FIND_HEADERS.H_CURSES=         curses.h
-
-BUILTIN_FIND_FILES_VAR+=               H_CURSES_GETSYX
-BUILTIN_FIND_FILES.H_CURSES_GETSYX=    ${H_CURSES}
-BUILTIN_FIND_GREP.H_CURSES_GETSYX=     getsyx
-
-BUILTIN_FIND_FILES_VAR+=               H_CURSES_HALFDELAY
-BUILTIN_FIND_FILES.H_CURSES_HALFDELAY= ${H_CURSES}
-BUILTIN_FIND_GREP.H_CURSES_HALFDELAY=  halfdelay
-
-BUILTIN_FIND_FILES_VAR+=               H_CURSES_PUTWIN
-BUILTIN_FIND_FILES.H_CURSES_PUTWIN=    ${H_CURSES}
-BUILTIN_FIND_GREP.H_CURSES_PUTWIN=     putwin
-
-BUILTIN_FIND_FILES_VAR+=               H_CURSES_RESIZETERM
-BUILTIN_FIND_FILES.H_CURSES_RESIZETERM=        ${H_CURSES}
-BUILTIN_FIND_GREP.H_CURSES_RESIZETERM= resizeterm
+BUILTIN_FIND_LIBS:=                            curses
+BUILTIN_FIND_HEADERS_VAR:=                     H_CURSES
+BUILTIN_FIND_HEADERS.H_CURSES=                 curses.h
+
+BUILTIN_FIND_FILES_VAR+=                       H_CURSES_GETSYX
+BUILTIN_FIND_FILES.H_CURSES_GETSYX=            ${H_CURSES}
+BUILTIN_FIND_GREP.H_CURSES_GETSYX=             getsyx
+
+BUILTIN_FIND_FILES_VAR+=                       H_CURSES_HALFDELAY
+BUILTIN_FIND_FILES.H_CURSES_HALFDELAY=         ${H_CURSES}
+BUILTIN_FIND_GREP.H_CURSES_HALFDELAY=          halfdelay
+
+BUILTIN_FIND_FILES_VAR+=                       H_CURSES_PUTWIN
+BUILTIN_FIND_FILES.H_CURSES_PUTWIN=            ${H_CURSES}
+BUILTIN_FIND_GREP.H_CURSES_PUTWIN=             putwin
+
+BUILTIN_FIND_FILES_VAR+=                       H_CURSES_RESIZE_TERM
+BUILTIN_FIND_FILES.H_CURSES_RESIZE_TERM=       ${H_CURSES}
+BUILTIN_FIND_GREP.H_CURSES_RESIZE_TERM=                resize_term
+
+BUILTIN_FIND_FILES_VAR+=                       H_CURSES_RESIZETERM
+BUILTIN_FIND_FILES.H_CURSES_RESIZETERM=                ${H_CURSES}
+BUILTIN_FIND_GREP.H_CURSES_RESIZETERM=         resizeterm
 
 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_WA_NORMAL
-BUILTIN_FIND_FILES.H_CURSES_WA_NORMAL= ${H_CURSES}
-BUILTIN_FIND_GREP.H_CURSES_WA_NORMAL=  WA_NORMAL
-
-BUILTIN_FIND_FILES_VAR+=               H_CURSES_WGETNSTR
-BUILTIN_FIND_FILES.H_CURSES_WGETNSTR=  ${H_CURSES}
-BUILTIN_FIND_GREP.H_CURSES_WGETNSTR=   wgetnstr
-
-BUILTIN_FIND_FILES_VAR+=               H_CURSES_WSYNCUP
-BUILTIN_FIND_FILES.H_CURSES_WSYNCUP=   ${H_CURSES}
-BUILTIN_FIND_GREP.H_CURSES_WSYNCUP=    wsyncup
-
-BUILTIN_FIND_FILES_VAR+=               H_CURSES_MVWCHGAT
-BUILTIN_FIND_FILES.H_CURSES_MVWCHGAT=  ${H_CURSES}
-BUILTIN_FIND_GREP.H_CURSES_MVWCHGAT=   mvwchgat
+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
+
+BUILTIN_FIND_FILES_VAR+=                       H_CURSES_WGETNSTR
+BUILTIN_FIND_FILES.H_CURSES_WGETNSTR=          ${H_CURSES}
+BUILTIN_FIND_GREP.H_CURSES_WGETNSTR=           wgetnstr
+
+BUILTIN_FIND_FILES_VAR+=                       H_CURSES_WSYNCUP
+BUILTIN_FIND_FILES.H_CURSES_WSYNCUP=           ${H_CURSES}
+BUILTIN_FIND_GREP.H_CURSES_WSYNCUP=            wsyncup
+
+BUILTIN_FIND_FILES_VAR+=                       H_CURSES_MVWCHGAT
+BUILTIN_FIND_FILES.H_CURSES_MVWCHGAT=          ${H_CURSES}
+BUILTIN_FIND_GREP.H_CURSES_MVWCHGAT=           mvwchgat
 
 .include "buildlink3/bsd.builtin.mk"
 
@@ -109,6 +113,12 @@ USE_BUILTIN.curses=        no
 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__)
+USE_BUILTIN.curses=    no
+.    endif
+.  endif
 # same for resizeterm(3)
 .  if !empty(USE_CURSES:Mresizeterm)
 .    if !empty(H_CURSES_RESIZETERM:M__nonexistent__)



Home | Main Index | Thread Index | Old Index