summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-11-09 02:26:27 +0000
committerobache <obache@pkgsrc.org>2014-11-09 02:26:27 +0000
commitdc29175c021e8775df93f370f80b8e8be20f5e96 (patch)
tree2d62fad95667d0463b74110a25456a2d7d25bc1d /mk
parent769e21446d5b19f2dea496090b86ff93a5853a2d (diff)
downloadpkgsrc-dc29175c021e8775df93f370f80b8e8be20f5e96.tar.gz
Requirement of gettext tools from pkgsrc depend on existence of the tool itself,
not msgfmt tool.
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/gettext.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/gettext.mk b/mk/tools/gettext.mk
index b79ad5b97a8..de4477432c3 100644
--- a/mk/tools/gettext.mk
+++ b/mk/tools/gettext.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gettext.mk,v 1.17 2013/05/02 13:12:03 obache Exp $
+# $NetBSD: gettext.mk,v 1.18 2014/11/09 02:26:27 obache Exp $
#
# Copyright (c) 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -136,7 +136,7 @@ TOOLS_SCRIPT.msgfmt= AWK=${TOOLS_AWK:Q} CAT=${TOOLS_CAT:Q} \
. if !defined(TOOLS_IGNORE.${_t_}) && !empty(USE_TOOLS:C/:.*//:M${_t_})
. if !empty(_TOOLS_USE_PKGSRC.msgfmt:M[yY][eE][sS])
_TOOLS_USE_PKGSRC.${_t_}= yes
-. elif defined(TOOLS_PLATFORM.msgfmt) && !empty(TOOLS_PLATFORM.msgfmt)
+. elif defined(TOOLS_PLATFORM.${_t_}) && !empty(TOOLS_PLATFORM.${_t_})
_TOOLS_USE_PKGSRC.${_t_}?= no
. else
_TOOLS_USE_PKGSRC.${_t_}?= yes