summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-07-08 13:43:47 +0000
committerjlam <jlam@pkgsrc.org>2005-07-08 13:43:47 +0000
commit19dfefac8a5a17c6803fb943fbe67b43f7c18977 (patch)
treea8d87b8f1a5c796031b93eb4861976381228b22a /mk/tools
parent7168acd69b19ff0d9428b4b71987e6ea8526f996 (diff)
downloadpkgsrc-19dfefac8a5a17c6803fb943fbe67b43f7c18977.tar.gz
"imake" may be defined in PKGSRC_USE_TOOLS instead of USE_TOOLS, so add
any IMAKE_TOOLS in that case as well.
Diffstat (limited to 'mk/tools')
-rw-r--r--mk/tools/imake.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/tools/imake.mk b/mk/tools/imake.mk
index 62904e27cea..b673ee6535f 100644
--- a/mk/tools/imake.mk
+++ b/mk/tools/imake.mk
@@ -1,4 +1,4 @@
-# $NetBSD: imake.mk,v 1.14 2005/06/14 07:12:23 jlam Exp $
+# $NetBSD: imake.mk,v 1.15 2005/07/08 13:43:47 jlam Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -72,6 +72,9 @@ USE_TOOLS+= imake xmkmf
.endif
# Add any extra tools that may be required when using imake, e.g. gmake.
+.if !empty(PKGSRC_USE_TOOLS:Mimake)
+PKGSRC_USE_TOOLS+= ${IMAKE_TOOLS:Nimake}
+.endif
.if !empty(USE_TOOLS:Mimake)
USE_TOOLS+= ${IMAKE_TOOLS:Nimake}
.endif