diff options
author | rillig <rillig@pkgsrc.org> | 2007-01-02 21:04:52 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2007-01-02 21:04:52 +0000 |
commit | 224b695fea3c28db9c4654079529e3252e3eadb9 (patch) | |
tree | c549270cb1072a0bd5aa5302cca4839c197fcf74 /mk/bsd.pkg.mk | |
parent | 7842c5cd72286e292f8015c6bb9ac13c9e910ada (diff) | |
download | pkgsrc-224b695fea3c28db9c4654079529e3252e3eadb9.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.mk | 4 |
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} \ |