From 40b99e5f80b775465a618b44620b840a11840da7 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 19 Jul 2005 23:01:55 +0000 Subject: Tools that are marked with ":pkgsrc" are needed very early on, probably too early for pkgsrc to adequately cope. In this case, imake-check.mk was marking "imake" as a tool that was used to perform some tests. This was causing xpkgwedge to be unnecessarily marked as a build dependency since using imake in pkgsrc pretty much requires xpkgwedge. However, in the case where we are running the "imake checks", we don't need xpkgwedge around. Solve this issue by marking all the tools in imake-check.mk with ":pkgsrc", and modify the xpkgwedge dependency test to not care about "imake:pkgsrc". --- mk/buildlink3/imake-check.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mk/buildlink3/imake-check.mk') diff --git a/mk/buildlink3/imake-check.mk b/mk/buildlink3/imake-check.mk index 914a02992e1..e811d81f5ea 100644 --- a/mk/buildlink3/imake-check.mk +++ b/mk/buildlink3/imake-check.mk @@ -1,4 +1,4 @@ -# $NetBSD: imake-check.mk,v 1.2 2005/07/15 18:27:55 jlam Exp $ +# $NetBSD: imake-check.mk,v 1.3 2005/07/19 23:01:55 jlam Exp $ # # Copyright (c) 2005 The NetBSD Foundation, Inc. # All rights reserved. @@ -58,8 +58,9 @@ # .for _pair_ in ${BUILTIN_IMAKE_CHECK} -USE_TOOLS+= cat echo grep imake mkdir rm # XXX -IMAKE?= ${X11BASE}/bin/imake # XXX +USE_TOOLS+= cat:pkgsrc echo:pkgsrc grep:pkgsrc imake:pkgsrc \ + mkdir:pkgsrc rm:pkgsrc test:pkgsrc # XXX +IMAKE?= ${X11BASE}/bin/imake # XXX . if !defined(BUILTIN_IMAKE_CHECK.${_pair_:C/\:[^:]*$//}) BUILTIN_IMAKE_CHECK.${_pair_:C/\:[^:]*$//}!= \ -- cgit v1.2.3