diff options
author | joerg <joerg@pkgsrc.org> | 2009-04-24 14:02:41 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-04-24 14:02:41 +0000 |
commit | 802161c921e9b39c69409fce329f339329ef1c76 (patch) | |
tree | e92512f46f4e8d0aa92df52114b8e91b266dfbfe /mk | |
parent | 15e7419096b963917f6e17df477f925a2c38f0c1 (diff) | |
download | pkgsrc-802161c921e9b39c69409fce329f339329ef1c76.tar.gz |
Add support for @pkgdir for non-destdir installation.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/flavor/pkg/install.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/flavor/pkg/install.mk b/mk/flavor/pkg/install.mk index 0eeadc9309f..a7e01cdbc76 100644 --- a/mk/flavor/pkg/install.mk +++ b/mk/flavor/pkg/install.mk @@ -1,4 +1,4 @@ -# $NetBSD: install.mk,v 1.13 2008/11/29 13:54:45 rillig Exp $ +# $NetBSD: install.mk,v 1.14 2009/04/24 14:02:41 joerg Exp $ # # _flavor-check-conflicts: # Checks for conflicts between the package and installed packages. @@ -69,5 +69,7 @@ _flavor-register: .PHONY _flavor-generate-metadata ${_RDEPENDS_FILE} esac ${RUN}${_FULL_DEPENDS_CMD} | \ ${SORT} -u | ${_REGISTER_DEPENDENCIES} ${PKGNAME} + ${RUN}${GREP} '^@pkgdir ' < ${_PKG_DBDIR}/${PKGNAME}/+CONTENTS | \ + while read tag dir; do ${MKDIR} ${PREFIX}/$$dir; done _flavor-install-clean: .PHONY _flavor-clean-metadata |