diff options
author | tnn <tnn> | 2008-05-21 19:53:59 +0000 |
---|---|---|
committer | tnn <tnn> | 2008-05-21 19:53:59 +0000 |
commit | 7037643f9cbb14253c9dc679cf02ba4be7049d64 (patch) | |
tree | fad66ec1cc595a37d76548f5658e3b6d0d33d5a8 /mk/bsd.pkg.mk | |
parent | 8e0591666ee3b2e66fb63e93a80b087a97ba4daf (diff) | |
download | pkgsrc-7037643f9cbb14253c9dc679cf02ba4be7049d64.tar.gz |
Commit a workaround for the "make replace fails as non-root" bug:
Make sure _PKGSRC_BARRIER is set when using just-in-time su.
I've been running this for a long time in my tree without ill effects.
For more information see PR pkg/34470 and PR pkg/38505.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 1beff8002b0..939de298154 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1941 2008/04/03 14:07:51 joerg Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1942 2008/05/21 19:53:59 tnn Exp $ # # This file is in the public domain. # @@ -643,7 +643,7 @@ ${.CURDIR}/${WRKDIR_BASENAME}: _ROOT_CMD= cd ${.CURDIR} && \ ${SETENV} ${PKGSRC_MAKE_ENV} \ PATH="$${PATH}:"${SU_CMD_PATH_APPEND:Q} \ - ${MAKE} ${MAKEFLAGS} \ + ${MAKE} ${MAKEFLAGS} _PKGSRC_BARRIER=yes \ PKG_DEBUG_LEVEL=${PKG_DEBUG_LEVEL:Q} \ su-${.TARGET} ${MAKEFLAGS.su-${.TARGET}} |