summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2012-09-10 16:07:44 +0000
committeradam <adam@pkgsrc.org>2012-09-10 16:07:44 +0000
commit183c723f3c343348560538ef79713807203b5327 (patch)
tree09200083e10ac2330ba3751e5cb7c1c89eb53817 /mk
parent696b6c1357ce2e5bc4c63bef603565692db94e8c (diff)
downloadpkgsrc-183c723f3c343348560538ef79713807203b5327.tar.gz
Quick-and-(possibly)-dirty fix to make gimp-2.8.2 build
Diffstat (limited to 'mk')
-rw-r--r--mk/tools/msgfmt-msgctxt.awk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/tools/msgfmt-msgctxt.awk b/mk/tools/msgfmt-msgctxt.awk
index f7cfee3e0eb..2bb8b2b8b49 100644
--- a/mk/tools/msgfmt-msgctxt.awk
+++ b/mk/tools/msgfmt-msgctxt.awk
@@ -1,4 +1,4 @@
-# $NetBSD: msgfmt-msgctxt.awk,v 1.2 2010/04/10 00:46:23 obache Exp $
+# $NetBSD: msgfmt-msgctxt.awk,v 1.3 2012/09/10 16:07:44 adam Exp $
#
# Simple awk script to strip out .po entries with "msgctxt" or "#~|", so the
# resultant file can be handled by the msgfmt 0.14.x.
@@ -6,7 +6,7 @@
sub(/\r$/, "")
if (/^$/) { entry_end(); }
else if ($1 == "msgctxt" || $2 == "msgctxt") { skip = 1; }
-else if ($1 == "#~|") { skip = 1; }
+else if ($1 == "#~") { skip = 1; }
else { entry = entry $0 "\n" }
}