pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Some people really try to run pkgsrc's make with -j...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d25365e9e930
branches: trunk
changeset: 521154:d25365e9e930
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Nov 05 19:11:29 2006 +0000
description:
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:
mk/bsd.pkg.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 6acf9be3d96a -r d25365e9e930 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk Sun Nov 05 18:46:57 2006 +0000
+++ b/mk/bsd.pkg.mk Sun Nov 05 19:11:29 2006 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index