summaryrefslogtreecommitdiff
path: root/mk
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
commit7ab7ea45ee08ef5e974bd069cccb596a28faeae3 (patch)
treea8d87b8f1a5c796031b93eb4861976381228b22a /mk
parent661ee68a1599c020a72d55d1bfb905b299f2d95c (diff)
downloadpkgsrc-7ab7ea45ee08ef5e974bd069cccb596a28faeae3.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')
-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