summaryrefslogtreecommitdiff
path: root/news/slrn/Makefile
diff options
context:
space:
mode:
authormjl <mjl@pkgsrc.org>2003-04-10 18:17:48 +0000
committermjl <mjl@pkgsrc.org>2003-04-10 18:17:48 +0000
commitfe3ef1e7bb54594d455a5acf0168ca7849afbfed (patch)
tree8cffd8028729c5bfbe328f09b55e7e011e9da6b5 /news/slrn/Makefile
parent587eab5269a3db8713bba12e214f735c5e13b3c6 (diff)
downloadpkgsrc-fe3ef1e7bb54594d455a5acf0168ca7849afbfed.tar.gz
Add patches as suggested in PR/21073 by Quentin Garnier:
o Bugfixes were published on the slrn website since the release of 0.9.7.4 last year. Even though no new version was released, they are quite needed for normal operation (specifically, I was hit by a locale bug that makes slrn segfault when scoring). o ${PKGLOCALEDIR} needs to be enforced both in package's Makefile and PLIT, and in the source (po Makefile has a hard-coded path that may not match the path used in other parts of the source tree).
Diffstat (limited to 'news/slrn/Makefile')
-rw-r--r--news/slrn/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/news/slrn/Makefile b/news/slrn/Makefile
index 78c5f88c3c1..c090b8b5c74 100644
--- a/news/slrn/Makefile
+++ b/news/slrn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2003/03/15 00:00:42 jschauma Exp $
+# $NetBSD: Makefile,v 1.25 2003/04/10 18:17:48 mjl Exp $
#
DISTNAME= slrn-0.9.7.4
@@ -6,6 +6,14 @@ CATEGORIES= news
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=slrn/}
EXTRACT_SUFX= .tar.bz2
+PATCH_SITES= http://slrn.sourceforge.net/patches/
+PATCHFILES= slrn-0.9.7.4-po.diff \
+ slrn-0.9.7.4-popup_win.diff \
+ slrn-0.9.7.4-mem_leak.diff \
+ slrn-0.9.7.4-link_subjects.diff \
+ slrn-0.9.7.4-strcasecmp.diff
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= mjl@netbsd.org
HOMEPAGE= http://slrn.sourceforge.net/
COMMENT= Highly customizable threaded newsreader
@@ -15,7 +23,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--without-X --disable-inews --with-slrnpull \
--enable-spool --enable-grouplens \
--with-gen-mid --with-libdir=${PREFIX}/lib/slrn \
- --enable-mid-cache
+ --enable-mid-cache \
+ --with-localedir=${PREFIX}/${PKGLOCALEDIR}/locale
+
.include "../../mk/bsd.prefs.mk"