diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/ekiga/Makefile | 10 | ||||
-rw-r--r-- | net/ekiga/files/msgfmtstrip | 18 |
2 files changed, 1 insertions, 27 deletions
diff --git a/net/ekiga/Makefile b/net/ekiga/Makefile index e3895f41928..a85562d12e5 100644 --- a/net/ekiga/Makefile +++ b/net/ekiga/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/03/22 08:51:24 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2009/03/22 19:01:40 wiz Exp $ # DISTNAME= ekiga-3.2.0 @@ -29,14 +29,6 @@ GNU_CONFIGURE= yes USE_LIBTOOL= yes USE_LANGUAGES= c c++ -# The gettext version in pkgsrc cannot handle the .po files, so -# we strip out usage of the newer features (context and fuzzy matches) -post-patch: - for f in ${WRKSRC}/po/*.po ${WRKSRC}/help/*/*.po ; do \ - mv $$f $$f.original ; \ - ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \ - done - pre-configure: cd ${WRKSRC} && autoconf diff --git a/net/ekiga/files/msgfmtstrip b/net/ekiga/files/msgfmtstrip deleted file mode 100644 index 9f1880d4945..00000000000 --- a/net/ekiga/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1 2009/03/18 13:08:07 jmcneill Exp $ -# Simple awk script to strip out .po entries with "msgctxt" or "#~|", so the -# resultant file can be handled by the msgfmt 0.14.4 in NetBSD 4.0 -{ -if (/^$/) { entry_end(); } -else if ($1 == "msgctxt" || $2 == "msgctxt") { skip = 1; } -else if ($1 == "#~|") { skip = 1; } -else { entry = entry $0 "\n" } -} - -END { entry_end(); } - -function entry_end() { - if (!skip) - print entry; - entry = ""; - skip = 0; -} |