diff options
Diffstat (limited to 'sysutils/brasero')
-rw-r--r-- | sysutils/brasero/Makefile | 10 | ||||
-rw-r--r-- | sysutils/brasero/files/msgfmtstrip | 18 |
2 files changed, 1 insertions, 27 deletions
diff --git a/sysutils/brasero/Makefile b/sysutils/brasero/Makefile index ae6a236ef8d..f766bef756c 100644 --- a/sysutils/brasero/Makefile +++ b/sysutils/brasero/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2009/03/22 09:30:38 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2009/03/22 19:01:41 wiz Exp $ # DISTNAME= brasero-2.26.0 @@ -28,14 +28,6 @@ PKGCONFIG_OVERRIDE+= libbrasero-media.pc.in post-extract: cp ${FILESDIR}/scsi-netbsd.c ${WRKSRC}/libbrasero-media/ -# 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; do \ - mv $$f $$f.original ; \ - ${AWK} -f ${FILESDIR}/msgfmtstrip $$f.original > $$f ; \ - done - pre-configure: cd ${WRKSRC} && automake && autoconf diff --git a/sysutils/brasero/files/msgfmtstrip b/sysutils/brasero/files/msgfmtstrip deleted file mode 100644 index ebf348d929f..00000000000 --- a/sysutils/brasero/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1.1.1 2009/03/16 10:49:06 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; -} |