summaryrefslogtreecommitdiff
path: root/lang/gawk/Makefile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2013-05-15 11:55:20 +0000
committeradam <adam@pkgsrc.org>2013-05-15 11:55:20 +0000
commit1de8b21fcd185f273c6edf21ce92cf58973edea0 (patch)
tree961a399e98451dbba3149a1742595ee121f5e16c /lang/gawk/Makefile
parentfc1c34b71d294156b8a3ba4ce2d2a5fef84b5b9f (diff)
downloadpkgsrc-1de8b21fcd185f273c6edf21ce92cf58973edea0.tar.gz
Changes from 4.0.2 to 4.1.0
--------------------------- 1. The three executables gawk, pgawk, and dgawk, have been merged into one, named just gawk. As a result: * The -R option is gone * Use -D to run the debugger. An optional file argument is a list of commands to run first. * Use -o to do pretty-printing only. * Use -p to do profiling. This considerably reduces gawk's "footprint" and eases the documentation burden as well. 2. Gawk now supports high precision arithmetic with MPFR. The default is still double precision, but setting PREC changes things, or using the -M / --bignum options. This support is not compiled in if the MPFR library is not available. 3. The new -i option (from xgawk) is used for loading awk library files. This differs from -f in that the first non-option argument is treated as a script. 4. The new -l option (from xgawk) is used for loading dynamic extensions. 5. The dynamic extension interface has been completely redone! There is now a defined API for C extensions to use. A C extension acts like a function written in awk, except that it cannot do everything that awk code can. However, this allows interfacing to any facility that is available from C. This is a major development, see the doc, which has a nice shiny new chapter describing everything. This support is not compiled in if dynamic loading of shared libraries is not supported. The old extension mechanism is still supported for compatiblity, but it will most definitely be removed at the next major release. 6. The "inplace" extension, built using the new facility, can be used to simulate the GNU "sed -i" feature. 7. The and(), or() and xor() functions now take any number of arguments, with a minimum of two. 8. New arrays: SYMTAB, FUNCTAB, and PROCINFO["identifiers"]. SYMTAB allows indirect access to any defined variable or array; it is possible to "walk" the symbol table, if that should be necessary. 9. Support for building gawk with a cross compiler has been improved. 10. Infrastructure upgrades: bison 2.7.1, gettext 0.18.2.1, automake 1.13.1, libtool 2.4.2 for the extensions.
Diffstat (limited to 'lang/gawk/Makefile')
-rw-r--r--lang/gawk/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index c207e76556e..3f0446fc8ad 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2013/01/31 22:01:43 adam Exp $
+# $NetBSD: Makefile,v 1.55 2013/05/15 11:55:20 adam Exp $
-DISTNAME= gawk-4.0.2
+DISTNAME= gawk-4.1.0
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GNU:=gawk/}
EXTRACT_SUFX= .tar.xz
@@ -16,6 +16,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
+USE_GNU_READLINE= yes
USE_TOOLS+= msgfmt
GNU_CONFIGURE= yes
TEST_TARGET= check
@@ -37,8 +38,8 @@ CFLAGS+= -Dvm_region=vm_region_64
INSTALLATION_DIRS+= ${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1
post-install:
- ${LN} -s ${PREFIX}/bin/gawk ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/awk
- ${LN} -s ${PREFIX}/${PKGMANDIR}/man1/gawk.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/awk.1
+ ${LN} -fs ${PREFIX}/bin/gawk ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/awk
+ ${LN} -fs ${PREFIX}/${PKGMANDIR}/man1/gawk.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/awk.1
BUILDLINK_API_DEPENDS.gettext+= gettext-lib>=0.10.36