diff options
author | tv <tv@pkgsrc.org> | 1998-08-26 00:07:34 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 1998-08-26 00:07:34 +0000 |
commit | 9ea750478c96b5642b450bda78a70d5f618601e7 (patch) | |
tree | 7c4a24e559d90a77ae88e86a2a41d35d400e1f93 /comms/lrzsz | |
parent | 844ae65cbcc9902cb71dddb70331d9788a2fe335 (diff) | |
download | pkgsrc-9ea750478c96b5642b450bda78a70d5f618601e7.tar.gz |
Use catgets instead of supplied gettext.
Diffstat (limited to 'comms/lrzsz')
-rw-r--r-- | comms/lrzsz/Makefile | 4 | ||||
-rw-r--r-- | comms/lrzsz/patches/patch-aa | 30 | ||||
-rw-r--r-- | comms/lrzsz/patches/patch-ab | 11 | ||||
-rw-r--r-- | comms/lrzsz/pkg/PLIST | 8 |
4 files changed, 48 insertions, 5 deletions
diff --git a/comms/lrzsz/Makefile b/comms/lrzsz/Makefile index 14421968d7b..de1bcad62c6 100644 --- a/comms/lrzsz/Makefile +++ b/comms/lrzsz/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 1998/08/20 15:16:42 tsarna Exp $ +# $NetBSD: Makefile,v 1.6 1998/08/26 00:07:34 tv Exp $ # FreeBSD Id: Makefile,v 1.5 1997/10/10 06:53:29 obrien Exp DISTNAME= lrzsz-0.12.18 @@ -10,4 +10,6 @@ HOMEPAGE= http://www.csl-gmbh.net/~uwe/lrzsz.html GNU_CONFIGURE= yes +CONFIGURE_ARGS+=--with-catgets + .include "../../mk/bsd.pkg.mk" diff --git a/comms/lrzsz/patches/patch-aa b/comms/lrzsz/patches/patch-aa new file mode 100644 index 00000000000..59a16488998 --- /dev/null +++ b/comms/lrzsz/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1 1998/08/26 00:07:35 tv Exp $ + +--- intl/xopen-msg.sed.orig Thu Jun 18 13:21:49 1998 ++++ intl/xopen-msg.sed Thu Jun 18 13:32:08 1998 +@@ -81,6 +81,8 @@ + G + s/^[^\n]*$/& / + s/\(.*\)\n\([0-9]*\)/\2 \1/ ++# Change escaped quotes into regular quotes. ++ s/\\"/"/g + # Clear flag from last substitution. + tb + # Append the next line. +@@ -90,12 +92,16 @@ + s/\(.*\n\)"\(.*\)"/\1\2/ + # Yes, then branch. + ta ++# Comment out if no message exists. ++ s/^\([0-9]* *\n\)/$ \1/ + P + D + # Note that `D' includes a jump to the start!! + # We found a continuation line. But before printing insert '\'. + :a + s/\(.*\)\(\n.*\)/\1\\\2/ ++# Change escaped quotes into regular quotes. ++ s/\\"/"/g + P + # We cannot use the sed command `D' here + s/.*\n\(.*\)/\1/ diff --git a/comms/lrzsz/patches/patch-ab b/comms/lrzsz/patches/patch-ab new file mode 100644 index 00000000000..38a80e4b736 --- /dev/null +++ b/comms/lrzsz/patches/patch-ab @@ -0,0 +1,11 @@ +--- configure.orig Tue Aug 25 19:55:01 1998 ++++ configure Tue Aug 25 19:55:58 1998 +@@ -4281,7 +4281,7 @@ + USE_INCLUDED_LIBINTL=yes + CATOBJEXT=.cat + INSTOBJEXT=.cat +- DATADIRNAME=lib ++ DATADIRNAME=share + INTLDEPS='$(top_builddir)/intl/libintl.a' + INTLLIBS=$INTLDEPS + LIBS=`echo $LIBS | sed -e 's/-lintl//'` diff --git a/comms/lrzsz/pkg/PLIST b/comms/lrzsz/pkg/PLIST index f7def9162a8..06ec6fb9baa 100644 --- a/comms/lrzsz/pkg/PLIST +++ b/comms/lrzsz/pkg/PLIST @@ -1,10 +1,10 @@ -@comment $NetBSD: PLIST,v 1.1 1998/02/05 21:49:13 tron Exp $ +@comment $NetBSD: PLIST,v 1.2 1998/08/26 00:07:35 tv Exp $ bin/lrz bin/lrx bin/lrb bin/lsz bin/lsx bin/lsb -man/man1/lrz.1.gz -man/man1/lsz.1.gz -share/locale/de/LC_MESSAGES/lrzsz.mo +man/man1/lrz.1 +man/man1/lsz.1 +share/locale/de/LC_MESSAGES/lrzsz.cat |