pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Added an additional line to the parallel error mess...
details: https://anonhg.NetBSD.org/pkgsrc/rev/22d6439fe00b
branches: trunk
changeset: 523158:22d6439fe00b
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Jan 02 21:04:52 2007 +0000
description:
Added an additional line to the parallel error message.
Added an empty line to separate the description of su-target from the
definition of _ROOT_CMD (for "make help").
diffstat:
mk/bsd.pkg.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r d8f71b88c6dc -r 22d6439fe00b mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Tue Jan 02 20:19:04 2007 +0000
+++ b/mk/bsd.pkg.mk Tue Jan 02 21:04:52 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1900 2006/12/15 12:46:23 martti Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1901 2007/01/02 21:04:52 rillig Exp $
#
# This file is in the public domain.
#
@@ -27,6 +27,7 @@
.if defined(.MAKEFLAGS) && !empty(.MAKEFLAGS:M-j*)
PKG_FAIL_REASON+= "[bsd.pkg.mk] pkgsrc does not support parallel make for the infrastructure."
+PKG_FAIL_REASON+= "[bsd.pkg.mk] Run \"${MAKE} help topic=make_jobs\" to get some parallelism."
.endif
.include "../../mk/bsd.prefs.mk"
@@ -668,6 +669,7 @@
# reinvoking the make process as root. It acquires root privileges and
# invokes a new make process with the target named "su-${.TARGET}".
#
+
_ROOT_CMD= cd ${.CURDIR} && \
${SETENV} ${PKGSRC_MAKE_ENV} \
PATH="$${PATH}:"${SU_CMD_PATH_APPEND:Q} \
Home |
Main Index |
Thread Index |
Old Index