Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 08/24/2003 08:51:14
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sun Aug 24 08:51:14 UTC 2003

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

Log Message:
Sanity check that the package is actually installed by running pkg_info(1)
before trying to create the binary package.  This makes:

	cd pkgsrc/category/foo
	make install
	pkg_delete foo
	make package

fail because package "foo" isn't actually installed, so no binary package
can be built.


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

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