summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2007-03-10 14:10:39 +0000
committertron <tron@pkgsrc.org>2007-03-10 14:10:39 +0000
commitaf3d1b003f9e45c19ad9ba546327f9757f014f32 (patch)
treef714ccb52487f8ad4e2118efdfea01e6531eda7f /www
parente5c8464f9b30649aac3fe0a3d1b1684f424cf352 (diff)
downloadpkgsrc-af3d1b003f9e45c19ad9ba546327f9757f014f32.tar.gz
Restore code to preprocess ".po" files to make this build with older
"gettext" versions (e.g. under NetBSD-i386 3.1_STABLE).
Diffstat (limited to 'www')
-rw-r--r--www/lynx/Makefile3
-rw-r--r--www/lynx/distinfo4
-rw-r--r--www/lynx/patches/patch-af14
3 files changed, 17 insertions, 4 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index c1aa64f4d6b..ee53598a50b 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2007/03/10 09:14:09 wiz Exp $
+# $NetBSD: Makefile,v 1.97 2007/03/10 14:10:39 tron Exp $
#
# NOTE: Please do not enable the lynxcgi feature unless it is lynx
@@ -26,6 +26,7 @@ SUBDIR= current
WRKSRC= ${WRKDIR}/lynx2-8-6
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
+BROKEN_GETTEXT_DETECTION= yes
INSTALL_TARGET= install-full
MAKE_FILE= makefile
diff --git a/www/lynx/distinfo b/www/lynx/distinfo
index 4d231419c30..df6ded18aeb 100644
--- a/www/lynx/distinfo
+++ b/www/lynx/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.23 2007/03/10 09:14:09 wiz Exp $
+$NetBSD: distinfo,v 1.24 2007/03/10 14:10:39 tron Exp $
SHA1 (lynx2.8.6rel.4.tar.bz2) = b4e37025e99aabaddb219b2f27b1b0ac5db89708
RMD160 (lynx2.8.6rel.4.tar.bz2) = 47e48e4136df298bf5168bc8d2d49e1ac92a6820
Size (lynx2.8.6rel.4.tar.bz2) = 2291156 bytes
SHA1 (patch-aa) = 85e76c4b2708e01dd1abdc1af764a067bd83bcb9
SHA1 (patch-ab) = 26fab3bd426a76df530e6780eefe36464059bc6a
-SHA1 (patch-af) = 7d3c6f461837604f6497e568d49457fbf4ee76d7
+SHA1 (patch-af) = be52c260ee5c052984e247bc04b5d6bb5bc6c1c2
diff --git a/www/lynx/patches/patch-af b/www/lynx/patches/patch-af
index 61e814416cc..139bf1dd844 100644
--- a/www/lynx/patches/patch-af
+++ b/www/lynx/patches/patch-af
@@ -1,7 +1,19 @@
-$NetBSD: patch-af,v 1.4 2007/03/10 09:14:10 wiz Exp $
+$NetBSD: patch-af,v 1.5 2007/03/10 14:10:40 tron Exp $
--- po/makefile.inn.orig 2004-01-28 19:30:38.000000000 +0000
+++ po/makefile.inn
+@@ -71,6 +71,11 @@ INSTOBJEXT = @INSTOBJEXT@
+ $(MSGFMT) -o $@ $<
+
+ .po.gmo:
++ @if [ `$(GMSGFMT) --version | head -1 | cut -d . -f 2` -lt 11 ]; then \
++ mv $< $<.bak; \
++ sed '/^msgstr/s/\([^\\]\)\(\\[^[:print:]]\)/\1\\\2/g' \
++ <$<.bak >$<; \
++ fi
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
+ && rm -f $$file && $(GMSGFMT) -o $$file $<
+
@@ -113,16 +118,16 @@ install-data: install-data-@USE_NLS@
install-data-no: all
install-data-yes: all