diff options
author | tnn <tnn> | 2008-05-21 19:53:59 +0000 |
---|---|---|
committer | tnn <tnn> | 2008-05-21 19:53:59 +0000 |
commit | 1806b4e2609f627d77b7546fa832f3b0667dd528 (patch) | |
tree | fad66ec1cc595a37d76548f5658e3b6d0d33d5a8 /mk/bsd.pkg.mk | |
parent | f5213b6bd1902f4f118dce3855978940d5e052d7 (diff) | |
download | pkgsrc-1806b4e2609f627d77b7546fa832f3b0667dd528.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}} |