pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk mk/curses: document the affected variables for make...
details: https://anonhg.NetBSD.org/pkgsrc/rev/43493a3094b4
branches: trunk
changeset: 326955:43493a3094b4
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Dec 16 23:21:52 2018 +0000
description:
mk/curses: document the affected variables for make show-all
diffstat:
mk/buildlink3/bsd.buildlink3.mk | 4 ++--
mk/curses.buildlink3.mk | 20 +++++++++++++++++---
2 files changed, 19 insertions(+), 5 deletions(-)
diffs (56 lines):
diff -r c73edd9fd81b -r 43493a3094b4 mk/buildlink3/bsd.buildlink3.mk
--- a/mk/buildlink3/bsd.buildlink3.mk Sun Dec 16 22:53:35 2018 +0000
+++ b/mk/buildlink3/bsd.buildlink3.mk Sun Dec 16 23:21:52 2018 +0000
@@ -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 @@
.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}
diff -r c73edd9fd81b -r 43493a3094b4 mk/curses.buildlink3.mk
--- a/mk/curses.buildlink3.mk Sun Dec 16 22:53:35 2018 +0000
+++ b/mk/curses.buildlink3.mk Sun Dec 16 23:21:52 2018 +0000
@@ -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 @@
. 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: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
Home |
Main Index |
Thread Index |
Old Index