summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-05-22 05:21:15 +0000
committerminskim <minskim@pkgsrc.org>2005-05-22 05:21:15 +0000
commitfb86f8525f51d33b1ec9d09f4c037002d92eaae0 (patch)
treeef07ba5ed9a5650e409c5e843c660d05596c44d2 /mk/tools
parent96ae6f23a45160f1596f02043bc3bab4e463f09c (diff)
downloadpkgsrc-fb86f8525f51d33b1ec9d09f4c037002d92eaae0.tar.gz
Do not enable _IMAKE_TOOLS unless imake is used. Otherwise, packages
would always be built with gmake on Linux.
Diffstat (limited to 'mk/tools')
-rw-r--r--mk/tools/imake.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/tools/imake.mk b/mk/tools/imake.mk
index f68ae75e329..d4176aa321e 100644
--- a/mk/tools/imake.mk
+++ b/mk/tools/imake.mk
@@ -1,4 +1,4 @@
-# $NetBSD: imake.mk,v 1.12 2005/05/21 04:53:17 jlam Exp $
+# $NetBSD: imake.mk,v 1.13 2005/05/22 05:21:15 minskim Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -72,7 +72,9 @@ USE_TOOLS+= imake xmkmf
.endif
# Add any extra tools that may be required when using imake, e.g. gmake.
+.if !empty(USE_TOOLS:Mimake)
USE_TOOLS+= ${_IMAKE_TOOLS:Nimake}
+.endif
TOOLS_REAL_ARGS.imake?= ${IMAKEOPTS}
TOOLS_REAL_ARGS.xmkmf?= ${XMKMF_FLAGS}