pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/snownews Fix .mo generation when using the msg-plu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b8befd2578ce
branches:  trunk
changeset: 501433:b8befd2578ce
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Sat Oct 22 22:06:21 2005 +0000

description:
Fix .mo generation when using the msg-plural hack

diffstat:

 www/snownews/Makefile         |   4 ++--
 www/snownews/distinfo         |   4 ++--
 www/snownews/patches/patch-ac |  13 +++++++++++--
 3 files changed, 15 insertions(+), 6 deletions(-)

diffs (57 lines):

diff -r 2ac28e7ecca2 -r b8befd2578ce www/snownews/Makefile
--- a/www/snownews/Makefile     Sat Oct 22 21:50:58 2005 +0000
+++ b/www/snownews/Makefile     Sat Oct 22 22:06:21 2005 +0000
@@ -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 @@
 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 -r 2ac28e7ecca2 -r b8befd2578ce www/snownews/distinfo
--- a/www/snownews/distinfo     Sat Oct 22 21:50:58 2005 +0000
+++ b/www/snownews/distinfo     Sat Oct 22 22:06:21 2005 +0000
@@ -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 -r 2ac28e7ecca2 -r b8befd2578ce www/snownews/patches/patch-ac
--- a/www/snownews/patches/patch-ac     Sat Oct 22 21:50:58 2005 +0000
+++ b/www/snownews/patches/patch-ac     Sat Oct 22 22:06:21 2005 +0000
@@ -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 @@
  
  ### 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:



Home | Main Index | Thread Index | Old Index