diff options
author | minskim <minskim@pkgsrc.org> | 2005-05-22 05:21:15 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2005-05-22 05:21:15 +0000 |
commit | fb86f8525f51d33b1ec9d09f4c037002d92eaae0 (patch) | |
tree | ef07ba5ed9a5650e409c5e843c660d05596c44d2 /mk/tools | |
parent | 96ae6f23a45160f1596f02043bc3bab4e463f09c (diff) | |
download | pkgsrc-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.mk | 4 |
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} |