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:   rillig
Date:           Sun Dec 16 23:21:52 UTC 2018

Modified Files:
        pkgsrc/mk: curses.buildlink3.mk
        pkgsrc/mk/buildlink3: bsd.buildlink3.mk

Log Message:
mk/curses: document the affected variables for make show-all


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/mk/curses.buildlink3.mk
cvs rdiff -u -r1.241 -r1.242 pkgsrc/mk/buildlink3/bsd.buildlink3.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.buildlink3.mk
diff -u pkgsrc/mk/curses.buildlink3.mk:1.28 pkgsrc/mk/curses.buildlink3.mk:1.29
--- pkgsrc/mk/curses.buildlink3.mk:1.28 Sat Aug 18 08:18:42 2018
+++ pkgsrc/mk/curses.buildlink3.mk      Sun Dec 16 23:21:52 2018
@@ -1,4 +1,4 @@
-# $NetBSD: curses.buildlink3.mk,v 1.28 2018/08/18 08:18:42 ryoon Exp $
+# $NetBSD: curses.buildlink3.mk,v 1.29 2018/12/16 23:21:52 rillig Exp $
 #
 # This Makefile fragment is meant to be included by packages that require
 # any curses implementation instead of one particular one.  The available
@@ -139,8 +139,9 @@ USE_NCURSES=                        yes
 .  elif ${CURSES_TYPE} == "pdcurses"
 .    include "../../devel/pdcurses/buildlink3.mk"
 .  endif
-.  for _var_ in PKGNAME PREFIX INCDIRS LIBDIRS LIBNAME LDADD
-BUILDLINK_${_var_}.curses=     ${BUILDLINK_${_var_}.${CURSES_TYPE}}
+.  for var in BUILDLINK_PKGNAME BUILDLINK_PREFIX BUILDLINK_INCDIRS \
+             BUILDLINK_LIBDIRS BUILDLINK_LIBNAME BUILDLINK_LDADD
+${var}.curses=                 ${${var}.${CURSES_TYPE}}
 .  endfor
 .endif
 
@@ -157,3 +158,16 @@ BUILDLINK_TRANSFORM+=              l:ncursesw:${BUIL
 BUILDLINK_TRANSFORM+=          l:ncurses:${BUILDLINK_LIBNAME.curses}
 .  endif
 .endif
+
+_VARGROUPS+=           curses
+_USER_VARS.curses=     CURSES_DEFAULT
+_PKG_VARS.curses=      FAKE_NCURSES USE_CURSES
+_SYS_VARS.curses=      PKG_OPTIONS CURSES_TYPE BUILDLINK_BUILTIN_MK.curses \
+                       USE_NCURSES BUILDLINK_PKGNAME.curses \
+                       BUILDLINK_PREFIX.curses BUILDLINK_INCDIRS.curses \
+                       BUILDLINK_LIBDIRS.curses BUILDLINK_LIBNAME.curses \
+                       BUILDLINK_LDADD.curses
+_USE_VARS.curses=      USE_BUILTIN.curses USE_BUILTIN.cursesw
+_DEF_VARS.curses=      USE_CURSES _CURSES_PKGS CHECK_BUILTIN.curses \
+                       _CURSES_ACCEPTED _CURSES_TYPE _PKG_USE_CURSES \
+                       H_CURSES BUILDLINK_TARGETS BUILDLINK_TRANSFORM

Index: pkgsrc/mk/buildlink3/bsd.buildlink3.mk
diff -u pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.241 pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.242
--- pkgsrc/mk/buildlink3/bsd.buildlink3.mk:1.241        Wed Aug 22 20:48:36 2018
+++ pkgsrc/mk/buildlink3/bsd.buildlink3.mk      Sun Dec 16 23:21:52 2018
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.buildlink3.mk,v 1.241 2018/08/22 20:48:36 maya Exp $
+# $NetBSD: bsd.buildlink3.mk,v 1.242 2018/12/16 23:21:52 rillig Exp $
 #
 # Copyright (c) 2004 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -204,7 +204,7 @@ _BLNK_PACKAGES+=    ${_pkg_}
 .endfor
 
 _VARGROUPS+=           bl3
-.for v in BINDIR CFLAGS CPPFLAGS DEPENDS LDFLAGS LIBS
+.for v in BINDIR CFLAGS CPPFLAGS DEPENDS LDADD LDFLAGS LIBS
 _SYS_VARS.bl3+=                BUILDLINK_${v}
 .endfor
 .for p in ${_BUILDLINK_TREE}



Home | Main Index | Thread Index | Old Index