Subject: CVS commit: pkgsrc/mk/plist
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 10/25/2007 22:02:18
Module Name:	pkgsrc
Committed By:	jlam
Date:		Thu Oct 25 22:02:18 UTC 2007

Modified Files:
	pkgsrc/mk/plist: plist.mk

Log Message:
* If PLIST_SRC is explicitly set to an empty value in a package Makefile,
  then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty


To generate a diff of this commit:
cvs rdiff -r1.34 -r1.35 pkgsrc/mk/plist/plist.mk

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