summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authorobache <obache>2015-02-01 11:46:10 +0000
committerobache <obache>2015-02-01 11:46:10 +0000
commit0eb334c63badd579c764fd66f710bc87b6dea901 (patch)
treed00734411cb28125d3571b0dcc52416388c26a9c /mk/tools
parent7c198ebe8295714db03895e40794d3c404384001 (diff)
downloadpkgsrc-0eb334c63badd579c764fd66f710bc87b6dea901.tar.gz
Revert
Requirement of gettext tools from pkgsrc depend on existence of the tool itself, not msgfmt tool. proposed/discussed is required for such changes.
Diffstat (limited to 'mk/tools')
-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 de4477432c3..827b795b575 100644
--- a/mk/tools/gettext.mk
+++ b/mk/tools/gettext.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gettext.mk,v 1.18 2014/11/09 02:26:27 obache Exp $
+# $NetBSD: gettext.mk,v 1.19 2015/02/01 11:46:10 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.${_t_}) && !empty(TOOLS_PLATFORM.${_t_})
+. elif defined(TOOLS_PLATFORM.msgfmt) && !empty(TOOLS_PLATFORM.msgfmt)
_TOOLS_USE_PKGSRC.${_t_}?= no
. else
_TOOLS_USE_PKGSRC.${_t_}?= yes