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 | b57f0d45fb836d211db389b7e4125d1097496cb6 (patch) | |
tree | c549270cb1072a0bd5aa5302cca4839c197fcf74 | |
parent | 71be1c3c8835cffcad7a793c56614d960bd8d4b4 (diff) | |
download | pkgsrc-b57f0d45fb836d211db389b7e4125d1097496cb6.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").
-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} \ |