diff options
author | adam <adam> | 2012-09-03 14:59:33 +0000 |
---|---|---|
committer | adam <adam> | 2012-09-03 14:59:33 +0000 |
commit | 40309248fde545922fdd6adb5d00282ee8b83f9f (patch) | |
tree | a0459cfb9a6f2926463ca4fcbd192d12950f2bf5 /mk | |
parent | 364b36d58156fdc7c26e2392af51bcf13781fe3b (diff) | |
download | pkgsrc-40309248fde545922fdd6adb5d00282ee8b83f9f.tar.gz |
Now MSGFMT_STRIP_MSGCTXT defaults to 'no', since devel/getttext-tools is the latest and can handle msgctxt tags
Diffstat (limited to 'mk')
-rw-r--r-- | mk/tools/gettext.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/mk/tools/gettext.mk b/mk/tools/gettext.mk index 418dd06f88d..b6cc76a4359 100644 --- a/mk/tools/gettext.mk +++ b/mk/tools/gettext.mk @@ -1,4 +1,4 @@ -# $NetBSD: gettext.mk,v 1.15 2011/08/16 12:14:27 abs Exp $ +# $NetBSD: gettext.mk,v 1.16 2012/09/03 14:59:33 adam Exp $ # # Copyright (c) 2006 The NetBSD Foundation, Inc. # All rights reserved. @@ -81,7 +81,7 @@ MSGFMT_STRIP_MSGID_PLURAL!= \ fi . endif . endif -. if !defined(MSGFMT_STRIP_MSGCTXT) +. if !defined(MSGFMT_STRIP_MSGCTXT) MSGFMT_STRIP_MSGCTXT!= \ if ${PKG_ADMIN} pmatch "gettext>=0.15" \ gettext-${_TOOLS_VERSION.msgfmt:Q}; then \ @@ -89,17 +89,17 @@ MSGFMT_STRIP_MSGCTXT!= \ else \ ${ECHO} yes; \ fi -. endif +. endif . else _TOOLS_USE_PKGSRC.msgfmt= yes . endif MSGFMT_STRIP_MSGID_PLURAL?= no -MSGFMT_STRIP_MSGCTXT?= yes # pkgsrc version is too old -.if ${MSGFMT_STRIP_MSGID_PLURAL} == "yes" || ${MSGFMT_STRIP_MSGCTXT} == "yes" +MSGFMT_STRIP_MSGCTXT?= no +. if ${MSGFMT_STRIP_MSGID_PLURAL} == "yes" || ${MSGFMT_STRIP_MSGCTXT} == "yes" _TOOLS_USE_MSGFMT_SH= yes -.else +. else _TOOLS_USE_MSGFMT_SH= no -.endif +. endif MAKEVARS+= _TOOLS_USE_MSGFMT_SH # If we're not using the builtin gettext implementation, then we should |