Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Joerg Sonnenberger <joerg@netbsd.org>
List: pkgsrc-changes
Date: 08/14/2007 23:58:25
Module Name: pkgsrc
Committed By: joerg
Date: Tue Aug 14 23:58:25 UTC 2007
Modified Files:
pkgsrc/mk/check: check-perms.mk
pkgsrc/mk/flavor/pkg: flavor.mk
pkgsrc/mk/install: install.mk
Log Message:
Fix a number of bugs in the DESTDIR support:
- check-perms.mk was not DESTDIR aware, prefix files before passing it
to the directory extraction
- PKG_FILELIST_CMD was calling pkg_info, which is fine for normal
installation, but fails of course for DESTDIR. Just drop the @ lines
from ${_DEPENDS_PLIST} and use that.
- To make he former work, ensure that _flavor-generate-metadata is part
of _INSTALL_ALL_TARGETS. It was normally a dependency of
_flavor-register, but that is skipped for DESTDIR.
- Remove ${_DEPENDS_PLIST} when running install-clean.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 pkgsrc/mk/check/check-perms.mk
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/flavor/pkg/flavor.mk
cvs rdiff -r1.44 -r1.45 pkgsrc/mk/install/install.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.