diff options
author | jlam <jlam> | 2006-07-05 10:23:58 +0000 |
---|---|---|
committer | jlam <jlam> | 2006-07-05 10:23:58 +0000 |
commit | 9cc1c937952821bb945fed5e4e7082bbcf8e0618 (patch) | |
tree | 2bb135b270419067986c1d68a26be44686c39dfc /mk | |
parent | 8d0a8415f8cc37c385b9e6afd34d7b6ad3840ee2 (diff) | |
download | pkgsrc-9cc1c937952821bb945fed5e4e7082bbcf8e0618.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." |