pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Ensure that the just-in-time su command invoked has...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ecb12d86b6b9
branches:  trunk
changeset: 516733:ecb12d86b6b9
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Wed Jul 26 19:29:14 2006 +0000

description:
Ensure that the just-in-time su command invoked has the same environment
as other recursive make processes (PKGSRC_MAKE_ENV).

diffstat:

 mk/bsd.pkg.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r e80385f90755 -r ecb12d86b6b9 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Wed Jul 26 18:29:46 2006 +0000
+++ b/mk/bsd.pkg.mk     Wed Jul 26 19:29:14 2006 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1874 2006/07/21 14:21:28 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1875 2006/07/26 19:29:14 jlam Exp $
 #
 # This file is in the public domain.
 #
@@ -746,7 +746,8 @@
 # invokes a new make process with the target named "su-${.TARGET}".
 #
 _ROOT_CMD=     cd ${.CURDIR} &&                                        \
-               ${SETENV} PATH="$${PATH}:"${SU_CMD_PATH_APPEND:Q}       \
+               ${SETENV} ${PKGSRC_MAKE_ENV}                            \
+                       PATH="$${PATH}:"${SU_CMD_PATH_APPEND:Q}         \
                ${MAKE} ${MAKEFLAGS}                                    \
                        PKG_DEBUG_LEVEL=${PKG_DEBUG_LEVEL:Q}            \
                        su-${.TARGET} ${MAKEFLAGS.${.TARGET}}



Home | Main Index | Thread Index | Old Index