pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/misc Ignore ccache and distcc in PKGSRC_COMPILER fo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1dd3b335fc33
branches: trunk
changeset: 522134:1dd3b335fc33
user: rillig <rillig%pkgsrc.org@localhost>
date: Sun Dec 03 21:58:20 2006 +0000
description:
Ignore ccache and distcc in PKGSRC_COMPILER for the check for
ONLY_FOR_COMPILER. For the opposite test, using NOT_FOR_COMPILER, they
may still be specified.
Fixes PR 35173.
diffstat:
mk/misc/can-be-built-here.mk | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 321e5981bb0f -r 1dd3b335fc33 mk/misc/can-be-built-here.mk
--- a/mk/misc/can-be-built-here.mk Sun Dec 03 21:48:54 2006 +0000
+++ b/mk/misc/can-be-built-here.mk Sun Dec 03 21:58:20 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: can-be-built-here.mk,v 1.2 2006/12/03 21:47:26 rillig Exp $
+# $NetBSD: can-be-built-here.mk,v 1.3 2006/12/03 21:58:20 rillig Exp $
#
# This file checks whether a package can be built in the current pkgsrc
# environment. It checks the following variables:
@@ -43,7 +43,9 @@
_CBBH.ocomp= yes
.if defined(ONLY_FOR_COMPILER) && !empty(ONLY_FOR_COMPILER)
_CBBH.ocomp= yes
-. for pc in ${PKGSRC_COMPILER}
+# Ignore compilers that only cache or distribute the real work that has
+# to be done (see PR 35173).
+. for pc in ${PKGSRC_COMPILER:Nccache:Ndistcc}
. if empty(ONLY_FOR_COMPILER:M${pc})
_CBBH.ocomp= no
. endif
Home |
Main Index |
Thread Index |
Old Index