pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Commit a workaround for the "make replace fails as ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/77c42771dce8
branches: trunk
changeset: 542576:77c42771dce8
user: tnn <tnn%pkgsrc.org@localhost>
date: Wed May 21 19:53:59 2008 +0000
description:
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:
mk/bsd.pkg.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r c7de5ad67cab -r 77c42771dce8 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Wed May 21 19:21:33 2008 +0000
+++ b/mk/bsd.pkg.mk Wed May 21 19:53:59 2008 +0000
@@ -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 @@
_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}}
Home |
Main Index |
Thread Index |
Old Index