From 8ebb857d2fd79d1604f1442c819fd41037e2dd05 Mon Sep 17 00:00:00 2001 From: tonio Date: Sat, 22 Oct 2005 22:06:21 +0000 Subject: Fix .mo generation when using the msg-plural hack --- www/snownews/Makefile | 4 ++-- www/snownews/distinfo | 4 ++-- www/snownews/patches/patch-ac | 13 +++++++++++-- 3 files changed, 15 insertions(+), 6 deletions(-) (limited to 'www/snownews') diff --git a/www/snownews/Makefile b/www/snownews/Makefile index 0267234a2d0..d2161de8807 100644 --- a/www/snownews/Makefile +++ b/www/snownews/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2005/10/22 09:46:44 tonio Exp $ +# $NetBSD: Makefile,v 1.19 2005/10/22 22:06:21 tonio Exp $ DISTNAME= snownews-1.5.7 PKGREVISION= 1 @@ -9,9 +9,9 @@ MAINTAINER= tech-pkg@NetBSD.org HOMEPAGE= http://kiza.kcore.de/software/snownews/ COMMENT= Small, curses based RSS feed reader +USE_MSGFMT_PLURALS= YES BUILD_USES_MSGFMT= YES -USE_MSGFMT_PLURALS= YES USE_NCURSES= # missing WA_BOLD, WA_REVERSE, KEY_RESIZE USE_PKGLOCALEDIR= YES diff --git a/www/snownews/distinfo b/www/snownews/distinfo index 88720d51748..683a7a1d673 100644 --- a/www/snownews/distinfo +++ b/www/snownews/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.7 2005/10/20 15:31:21 tonio Exp $ +$NetBSD: distinfo,v 1.8 2005/10/22 22:06:21 tonio Exp $ SHA1 (snownews-1.5.7.tar.gz) = d732c056d8c193339cae4c07dfaf0093607c90c0 RMD160 (snownews-1.5.7.tar.gz) = 5aa839bb92a8ee51b2b1fda74ddf22279665061b Size (snownews-1.5.7.tar.gz) = 161504 bytes -SHA1 (patch-ac) = 92a5b727c1626560058482a6f2b6a47f987bd5c0 +SHA1 (patch-ac) = 1083665b2a989f51227866d61ca44c208d2a3721 diff --git a/www/snownews/patches/patch-ac b/www/snownews/patches/patch-ac index b0553856cef..71e548a5964 100644 --- a/www/snownews/patches/patch-ac +++ b/www/snownews/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.4 2004/11/20 00:30:29 wiz Exp $ +$NetBSD: patch-ac,v 1.5 2005/10/22 22:06:21 tonio Exp $ ---- Makefile.orig 2004-11-11 16:23:02.000000000 +0100 +--- Makefile.orig 2005-06-05 11:50:22.000000000 +0200 +++ Makefile @@ -1,7 +1,5 @@ -CC= gcc @@ -11,3 +11,12 @@ $NetBSD: patch-ac,v 1.4 2004/11/20 00:30:29 wiz Exp $ ### Compiler/linker flags ### ### Generated via configure ### +@@ -38,7 +36,7 @@ snownews-static: manpages locales + + locales: + for L in $(LOCALES); do \ +- msgfmt -o $(LOC)/$$L.mo $(LOC)/$$L; \ ++ msgfmt -o $(LOC)/$$L.mo $(LOC)/$$L.po; \ + done + + manpages: -- cgit v1.2.3