summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-11-05 19:11:29 +0000
committerrillig <rillig@pkgsrc.org>2006-11-05 19:11:29 +0000
commit68c2399cc3b615cb990ba2c12f10a23793afcc91 (patch)
tree1520ae7fd3148e95e9bbc23985244dcd70ff42ec /mk
parent1157a685b17e8bd070663fa00689fac31f6a0b45 (diff)
downloadpkgsrc-68c2399cc3b615cb990ba2c12f10a23793afcc91.tar.gz
Some people really try to run pkgsrc's make with -j5 options. Since that
is not supported at all by pkgsrc, print an error message in that case.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 52231d43c1e..71158624259 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1894 2006/11/05 15:15:24 joerg Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1895 2006/11/05 19:11:29 rillig Exp $
#
# This file is in the public domain.
#
@@ -25,6 +25,10 @@
.MAIN: all
+.if defined(.MAKEFLAGS) && !empty(.MAKEFLAGS:M-j*)
+PKG_FAIL_REASON+= "[bsd.pkg.mk] pkgsrc does not support parallel make for the infrastructure."
+.endif
+
.include "../../mk/bsd.prefs.mk"
.include "${PKGSRCDIR}/mk/flavor/bsd.flavor-vars.mk"