Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Stoned Elipot <seb@netbsd.org>
List: pkgsrc-changes
Date: 07/31/2003 13:50:14
Module Name:	pkgsrc
Committed By:	seb
Date:		Thu Jul 31 13:50:14 UTC 2003

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

Log Message:
Make it possible to have a package requiring makeinfo but not install-info.

INFO_FILES is now defined by default to the empty value.
If it is not empty it means that install-info -or a suitable
replacement like pkg_install-info- is required.

USE_MAKEINFO is now defined by default to the 'no' value.
If it has any other value it means that makeinfo is required.
Note that as before simply defining USE_MAKEINFO in a package
Makefile is enough to trigger the use of makeinfo. I.e. it is not
required to be '[yY][eE][sS]'.

As a side effect when using buildlink2 always create install-info and
makeinfo wrappers in ${BUILDLINK_DIR}/bin. This could help
package maintainer to catch spurious/hidden install-info and makeinfo
usage.

Note that for now this nice feature is not really enabled as the relevant
part of bsd.buildlink2.mk is still conditional upon USE_NEW_TEXINFO.
It will really be when USE_NEW_TEXINFO will be removed from pkgsrc.


To generate a diff of this commit:
cvs rdiff -r1.1226 -r1.1227 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.15 -r1.16 pkgsrc/mk/texinfo.mk
cvs rdiff -r1.91 -r1.92 pkgsrc/mk/buildlink2/bsd.buildlink2.mk

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