diff options
author | wiz <wiz> | 2009-03-22 19:01:37 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-03-22 19:01:37 +0000 |
commit | 06877dcb64889e3a4f969be59935013a22d4be49 (patch) | |
tree | 0878b8066ae7b10a679ffb6b3e1436a3d4d08c14 /mail | |
parent | 51d9f25e20528f4028a13ad2cee532c4c3d43c97 (diff) | |
download | pkgsrc-06877dcb64889e3a4f969be59935013a22d4be49.tar.gz |
Remove msgfmtstrip scripts and targets using them, now that the
infrastructure supports this properly (thanks joerg!).
Diffstat (limited to 'mail')
-rw-r--r-- | mail/evolution/Makefile | 10 | ||||
-rw-r--r-- | mail/evolution/files/msgfmtstrip | 18 |
2 files changed, 1 insertions, 27 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index 4f05c7ba86d..0180858aade 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.147 2009/03/19 12:05:04 drochner Exp $ +# $NetBSD: Makefile,v 1.148 2009/03/22 19:01:39 wiz Exp $ DISTNAME= evolution-2.26.0 CATEGORIES= mail time gnome @@ -50,14 +50,6 @@ GCONF_SCHEMAS+= evolution-mail.schemas BUILDLINK_TRANSFORM+= rm:-DG_DISABLE_DEPRECATED BUILDLINK_TRANSFORM+= rm:-DGTK_DISABLE_DEPRECATED -# 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 - .if !exists(/usr/include/semaphore.h) LDFLAGS+= -lsemaphore .include "../../devel/pthread-sem/buildlink3.mk" diff --git a/mail/evolution/files/msgfmtstrip b/mail/evolution/files/msgfmtstrip deleted file mode 100644 index bc1a20b6a48..00000000000 --- a/mail/evolution/files/msgfmtstrip +++ /dev/null @@ -1,18 +0,0 @@ -# $Id: msgfmtstrip,v 1.1 2008/10/26 23:17:21 wiz 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; -} |