diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-05 10:23:58 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-05 10:23:58 +0000 |
commit | b8dc417755ad65eff4aab88a797130f8742750e9 (patch) | |
tree | 2bb135b270419067986c1d68a26be44686c39dfc /mk | |
parent | aadb1277f884e0f047d5d33ca9bc8fccda862679 (diff) | |
download | pkgsrc-b8dc417755ad65eff4aab88a797130f8742750e9.tar.gz |
Only override intltool if the intltool tool was requested.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/intltool.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/tools/intltool.mk b/mk/tools/intltool.mk index 079c2530d38..ec2dcf9abf2 100644 --- a/mk/tools/intltool.mk +++ b/mk/tools/intltool.mk @@ -1,4 +1,4 @@ -# $NetBSD: intltool.mk,v 1.2 2006/07/05 05:21:59 jlam Exp $ +# $NetBSD: intltool.mk,v 1.3 2006/07/05 10:23:58 jlam Exp $ # # Copyright (c) 2006 The NetBSD Foundation, Inc. # All rights reserved. @@ -73,7 +73,9 @@ TOOLS_PATH.${_t_}= ${TOOLS_CMD.${_t_}} # correctly "recent". # .PHONY: override-intltool override-message-intltool -post-configure: override-intltool +.if !empty(USE_TOOLS:C/:.*//:Mintltool) +do-configure-post-hook: override-intltool +.endif override-intltool: override-message-intltool override-message-intltool: @${STEP_MSG} "Overriding intltool." |