pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/gawk Update to 3.1.4, convert to bsd.options.mk:
details: https://anonhg.NetBSD.org/pkgsrc/rev/061df3aa9d97
branches: trunk
changeset: 479907:061df3aa9d97
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Aug 26 00:00:20 2004 +0000
description:
Update to 3.1.4, convert to bsd.options.mk:
Changes from 3.1.3 to 3.1.4
---------------------------
1. Gawk now supports the POSIX %F format, falling back to %f if the local
system printf doesn't handle it.
2. Gawk now supports the ' flag in printf. E.g., %'d in a locale with thousands
separators includes the thousands separator in the value, e.g. 12,345.
This has one problem; the ' flag is next to impossible to use on the
command line, without major quoting games. Oh well, TANSTAAFL.
3. The dfa code has been reinstated; the performance degradation was
just too awful. Sigh. (For fun, use `export GAWK_NO_DFA=1' to
see the difference.)
4. The special case `x = x y' is now recognized in the grammar, and gawk
now uses `realloc' to append the new value to the end of the existing
one. This can speed up the common case of appending onto a string.
5. The dfa code was upgraded with most of the fixes from grep 2.5.1, and
the regex code was upgraded with GLIBC as mid-January 2004. The regex
code is faster than it was, but still not as fast as the dfa code, so
the dfa code stays in. The getopt code was also synced to current GLIBC.
6. Support code upgraded to Automake 1.8.5, Autoconf 2.59, and gettext 0.14.1.
7. When --posix is in effect, sub/gsub now follow the 2001 POSIX behavior.
Yippee. This is even documented in the manual.
8. Gawk will now recover children that have died (input pipelines, two-way
pipes), upon detecting EOF from them, thus avoiding filling
up the process table. Open file descriptors are not recovered
(unfortunately), since that could break awk semantics. See the
ChangeLog and the source code for the details.
9. Handling of numbers like `0,1' in non-American locales ought to
work correctly now.
10. IGNORECASE is now locale-aware for characters with values above 128.
The dfa matcher is now used for IGNORECASE matches too.
11. Dynamic function loading is better. The documentation has been improved
and some new APIs for use by dynamic functions have been added.
12. Gawk now has a fighting chance of working on older systems,
a la SunOS 4.1.x.
13. Issues with multibyte support on HP-UX are now resolved. `configure' now
disables such support there, since it's not up to what gawk needs.
14. There are now even more tests in the test suite.
15. Various bugs fixed; see ChangeLog for the details.
diffstat:
lang/gawk/Makefile | 16 ++++++++++++----
lang/gawk/PLIST | 6 +++++-
lang/gawk/distinfo | 10 ++++------
lang/gawk/patches/patch-aa | 15 ---------------
lang/gawk/patches/patch-ab | 16 ++++++++--------
lang/gawk/patches/patch-ac | 13 -------------
6 files changed, 29 insertions(+), 47 deletions(-)
diffs (144 lines):
diff -r 1a978bd99c39 -r 061df3aa9d97 lang/gawk/Makefile
--- a/lang/gawk/Makefile Wed Aug 25 23:26:58 2004 +0000
+++ b/lang/gawk/Makefile Thu Aug 26 00:00:20 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2004/04/25 07:15:51 snj Exp $
+# $NetBSD: Makefile,v 1.23 2004/08/26 00:00:20 wiz Exp $
#
-DISTNAME= gawk-3.1.3
+DISTNAME= gawk-3.1.4
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.bz2
@@ -24,8 +24,16 @@
.include "../../mk/bsd.prefs.mk"
-BUILD_DEFS+= GAWK_ENABLE_PORTALS
-.if ${GAWK_ENABLE_PORTALS} == "YES"
+.if !empty(GAWK_ENABLE_PORTALS:M[Yy][Ee][Ss])
+PKG_DEFAULT_OPTIONS+= portals
+.endif
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.gawk
+PKG_SUPPORTED_OPTIONS= portals
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mportals)
CONFIGURE_ARGS+= --enable-portals
.endif
diff -r 1a978bd99c39 -r 061df3aa9d97 lang/gawk/PLIST
--- a/lang/gawk/PLIST Wed Aug 25 23:26:58 2004 +0000
+++ b/lang/gawk/PLIST Thu Aug 26 00:00:20 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2004/02/22 15:21:16 seb Exp $
+@comment $NetBSD: PLIST,v 1.8 2004/08/26 00:00:20 wiz Exp $
bin/gawk
bin/${PKGNAME}
bin/igawk
@@ -26,6 +26,7 @@
share/awk/readable.awk
share/awk/rewind.awk
share/awk/round.awk
+share/awk/strtonum.awk
share/awk/zerofile.awk
${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/gawk.mo
${PKGLOCALEDIR}/locale/da/LC_MESSAGES/gawk.mo
@@ -34,7 +35,10 @@
${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/gawk.mo
${PKGLOCALEDIR}/locale/he/LC_MESSAGES/gawk.mo
${PKGLOCALEDIR}/locale/it/LC_MESSAGES/gawk.mo
+${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/gawk.mo
+${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/gawk.mo
${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/gawk.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/gawk.mo
${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gawk.mo
${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gawk.mo
@dirrm share/awk
diff -r 1a978bd99c39 -r 061df3aa9d97 lang/gawk/distinfo
--- a/lang/gawk/distinfo Wed Aug 25 23:26:58 2004 +0000
+++ b/lang/gawk/distinfo Thu Aug 26 00:00:20 2004 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.11 2003/10/06 06:57:40 wiz Exp $
+$NetBSD: distinfo,v 1.12 2004/08/26 00:00:20 wiz Exp $
-SHA1 (gawk-3.1.3.tar.bz2) = 5adeb48ff9a1aaaef91feece8cf27140b2740183
-Size (gawk-3.1.3.tar.bz2) = 1634022 bytes
-SHA1 (patch-aa) = 24c4ef1d8484554b86d3d1441cd4b945aea0a1e2
-SHA1 (patch-ab) = 2af7895637c0889edfb192e203fee447656a033c
-SHA1 (patch-ac) = 2d9cf9fed0630ef3d6642092458af13520530a86
+SHA1 (gawk-3.1.4.tar.bz2) = ba50753eca7518d5a13fa9a1e1333562cd8477ca
+Size (gawk-3.1.4.tar.bz2) = 1732494 bytes
+SHA1 (patch-ab) = c0ffd2cc29104e5fefb123a353388d991dc62635
SHA1 (patch-af) = dac29f99def7a70f17aaeb1cb3662ce48008755c
diff -r 1a978bd99c39 -r 061df3aa9d97 lang/gawk/patches/patch-aa
--- a/lang/gawk/patches/patch-aa Wed Aug 25 23:26:58 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2003/10/05 15:49:06 wiz Exp $
-
---- Makefile.am.orig Mon May 19 13:58:24 2003
-+++ Makefile.am
-@@ -137,9 +137,7 @@ install-exec-hook:
- cd $(DESTDIR)$(bindir); \
- $(LN) gawk $$fullname 2>/dev/null ; \
- $(LN) pgawk p$$fullname 2>/dev/null ; \
-- if [ ! -f awk$(EXEEXT) ]; \
-- then $(LN_S) gawk$(EXEEXT) awk$(EXEEXT); \
-- fi; exit 0)
-+ exit 0)
-
- # Undo the above when uninstalling
- uninstall-links:
diff -r 1a978bd99c39 -r 061df3aa9d97 lang/gawk/patches/patch-ab
--- a/lang/gawk/patches/patch-ab Wed Aug 25 23:26:58 2004 +0000
+++ b/lang/gawk/patches/patch-ab Thu Aug 26 00:00:20 2004 +0000
@@ -1,20 +1,20 @@
-$NetBSD: patch-ab,v 1.8 2003/10/05 15:49:06 wiz Exp $
+$NetBSD: patch-ab,v 1.9 2004/08/26 00:00:20 wiz Exp $
---- Makefile.in.orig Fri Jul 4 19:49:07 2003
+--- Makefile.in.orig 2004-08-02 11:16:30.000000000 +0200
+++ Makefile.in
-@@ -78,7 +78,7 @@ CPPFLAGS = @CPPFLAGS@
+@@ -176,7 +176,7 @@ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DATADIRNAME = @DATADIRNAME@
-
-DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"$(datadir)/locale\""
+DEFS = -DDEFPATH=$(DEFPATH) -DHAVE_CONFIG_H -DGAWK -DLOCALEDIR="\"$(prefix)/$(PKGLOCALEDIR)/locale\""
DEPDIR = @DEPDIR@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
-@@ -888,9 +888,7 @@ install-exec-hook:
- cd $(DESTDIR)$(bindir); \
- $(LN) gawk $$fullname 2>/dev/null ; \
- $(LN) pgawk p$$fullname 2>/dev/null ; \
+@@ -955,9 +955,7 @@ install-exec-hook:
+ (cd $(DESTDIR)$(bindir); \
+ $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
+ $(LN) pgawk$(EXEEXT) pgawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
- if [ ! -f awk$(EXEEXT) ]; \
- then $(LN_S) gawk$(EXEEXT) awk$(EXEEXT); \
- fi; exit 0)
diff -r 1a978bd99c39 -r 061df3aa9d97 lang/gawk/patches/patch-ac
--- a/lang/gawk/patches/patch-ac Wed Aug 25 23:26:58 2004 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.6 2003/10/05 15:49:06 wiz Exp $
-
---- awk.h.orig Sun Jun 29 14:52:40 2003
-+++ awk.h
-@@ -73,7 +73,7 @@ extern int errno;
- #ifdef HAVE_SIGNUM_H
- #include <signum.h>
- #endif
--#if defined(HAVE_MBRLEN) && defined(HAVE_MBRTOWC) && defined(HAVE_WCHAR_H) && defined(HAVE_WCTYPE_H)
-+#if defined(HAVE_MBRLEN) && defined(HAVE_MBRTOWC) && defined(HAVE_WCHAR_H) && defined(HAVE_WCTYPE_H) && !defined(__NetBSD__)
- /* We can handle multibyte strings. */
- #define MBS_SUPPORT
- #include <wchar.h>
Home |
Main Index |
Thread Index |
Old Index