summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authorjlam <jlam>2005-07-08 13:43:47 +0000
committerjlam <jlam>2005-07-08 13:43:47 +0000
commit5c3dd18db64311d8ed212b6ed74cb8cc9cba9487 (patch)
treea8d87b8f1a5c796031b93eb4861976381228b22a /mk/tools
parent6081e9dcf6de3095ac16cd3fd4ae2d142eb3dcb9 (diff)
downloadpkgsrc-5c3dd18db64311d8ed212b6ed74cb8cc9cba9487.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