diff options
author | joerg <joerg> | 2006-11-07 18:16:19 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-11-07 18:16:19 +0000 |
commit | 625938a4998cf4150505cfe7c8b544b5b6be4b36 (patch) | |
tree | e437b2a52610ed9b79f454742b683932559f916e /mk/install | |
parent | dc1d06d4d456443506a4f5f6666d688462b1fa62 (diff) | |
download | pkgsrc-625938a4998cf4150505cfe7c8b544b5b6be4b36.tar.gz |
Just make the PREFIX with INSTALL_DATA_DIR. Drop the conditional and
don't use mkdir, as the latter uses the group permissions of the
parent directory under BSDs, resulting in group leaks for
USE_DESTDIR=yes. Discussed with agc@.
Diffstat (limited to 'mk/install')
-rw-r--r-- | mk/install/install.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install/install.mk b/mk/install/install.mk index 5184f74efb7..5dad61bca5f 100644 --- a/mk/install/install.mk +++ b/mk/install/install.mk @@ -1,4 +1,4 @@ -# $NetBSD: install.mk,v 1.26 2006/11/04 07:42:51 rillig Exp $ +# $NetBSD: install.mk,v 1.27 2006/11/07 18:16:19 joerg Exp $ ###################################################################### ### install (PUBLIC) @@ -239,7 +239,7 @@ MTREE_ARGS?= -U -f ${MTREE_FILE} -d -e -p .PHONY: install-makedirs install-makedirs: - ${_PKG_SILENT}${_PKG_DEBUG}${TEST} -d ${DESTDIR}${PREFIX} || ${MKDIR} ${DESTDIR}${PREFIX} + ${_PKG_SILENT}${_PKG_DEBUG}${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX} .if !defined(NO_MTREE) ${_PKG_SILENT}${_PKG_DEBUG}${TEST} ! -f ${MTREE_FILE} || \ ${MTREE} ${MTREE_ARGS} ${DESTDIR}${PREFIX}/ |