summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-11-05 19:11:29 +0000
committerrillig <rillig>2006-11-05 19:11:29 +0000
commitf0eee9d58b4efd3697e6719269d95ae48f89968e (patch)
tree1520ae7fd3148e95e9bbc23985244dcd70ff42ec /mk
parent3ee3b1b0c1905a00aa10ba45eaccc193774603a6 (diff)
downloadpkgsrc-f0eee9d58b4efd3697e6719269d95ae48f89968e.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"