Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 02/07/2002 22:34:23
Module Name:	pkgsrc
Committed By:	jlam
Date:		Thu Feb  7 20:34:22 UTC 2002

Modified Files:
	pkgsrc/mk: bsd.pkg.mk

Log Message:
Create a new knob: PKG_SYSCONFVAR

PKG_SYSCONFVAR is the special suffix used to distinguish any overriding
	values for a particular package (see next item).  It defaults to
	${PKGNAME}, but for a collection of related packages that should
	all have the same PKG_SYSCONFDIR value, it can be set in each of
	the package Makefiles to a common value.

PKG_SYSCONFDIR.${PKG_SYSCONFVAR} overrides the value of ${PKG_SYSCONFDIR}
	for packages with the same value for PKG_SYSCONFVAR.

Package maintainers may want to set PKG_SYSCONFVAR to a common value for
related packages, e.g. all of the amanda packages set PKG_SYSCONFVAR=amanda
so that the PKG_SYSCONFDIR for all of them may be tweaked by just setting
PKG_SYSCONFDIR.amanda in /etc/mk.conf.


To generate a diff of this commit:
cvs rdiff -r1.922 -r1.923 pkgsrc/mk/bsd.pkg.mk

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