summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-05 10:23:58 +0000
committerjlam <jlam>2006-07-05 10:23:58 +0000
commit944d8681990820fd358e5423594b164d95c4ebf4 (patch)
tree2bb135b270419067986c1d68a26be44686c39dfc /mk
parent5f463949735c89e0fe8bd11539e801129bf830d1 (diff)
downloadpkgsrc-944d8681990820fd358e5423594b164d95c4ebf4.tar.gz
Only override intltool if the intltool tool was requested.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/intltool.mk6
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."