summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-02 21:04:52 +0000
committerrillig <rillig>2007-01-02 21:04:52 +0000
commit7fe68fff900a63221d40f54e95595592a20291d2 (patch)
treec549270cb1072a0bd5aa5302cca4839c197fcf74 /mk/bsd.pkg.mk
parent6750eb0b58995be00ce9f121dab2d7a1d331ab00 (diff)
downloadpkgsrc-7fe68fff900a63221d40f54e95595592a20291d2.tar.gz
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 (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 7b56a5fb6c7..1a91fe17c89 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -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 @@ makedirs: ${.CURDIR}/${WRKDIR_BASENAME}
# 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} \