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 | 9e8f5af26066e81a90b2ce28a912e237a6f22e29 (patch) | |
tree | ef07ba5ed9a5650e409c5e843c660d05596c44d2 | |
parent | 2f6446ec577d922e669c1c400105c2e803b364a1 (diff) | |
download | pkgsrc-9e8f5af26066e81a90b2ce28a912e237a6f22e29.tar.gz |
Do not enable _IMAKE_TOOLS unless imake is used. Otherwise, packages
would always be built with gmake on Linux.
-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} |