From 991c34e7d07e51d823e9235b054b30dbee1181c2 Mon Sep 17 00:00:00 2001 From: johans Date: Thu, 21 May 2015 18:08:49 +0000 Subject: Update to GNU awk 4.1.3 (bugfix release) --- lang/gawk/Makefile | 3 ++- lang/gawk/distinfo | 4 ++-- lang/gawk/files/patch-Makefile.in | 10 +++++----- 3 files changed, 9 insertions(+), 8 deletions(-) (limited to 'lang/gawk') diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index f9421f38c377..feb5527aaf79 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= gawk -PORTVERSION= 4.1.2 +PORTVERSION= 4.1.3 CATEGORIES= lang MASTER_SITES= GNU @@ -28,6 +28,7 @@ CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ --with-libintl-prefix=${LOCALBASE} \ --with-readline=${LOCALBASE} \ AWK=${AWK} +INSTALL_TARGET= install-strip PLIST_SUB+= VERSION=${PORTVERSION} diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo index ad4fe28ba4d7..ec50eb11134c 100644 --- a/lang/gawk/distinfo +++ b/lang/gawk/distinfo @@ -1,2 +1,2 @@ -SHA256 (gawk-4.1.2.tar.xz) = ea8b53c5834ee27012fecba7273f97fca7104884975cf81ddae6f85c5581f481 -SIZE (gawk-4.1.2.tar.xz) = 2279136 +SHA256 (gawk-4.1.3.tar.xz) = e3cf55e91e31ea2845f8338bedd91e40671fc30e4d82ea147d220e687abda625 +SIZE (gawk-4.1.3.tar.xz) = 2311268 diff --git a/lang/gawk/files/patch-Makefile.in b/lang/gawk/files/patch-Makefile.in index 897fa8b0ef87..ed32fb3b3939 100644 --- a/lang/gawk/files/patch-Makefile.in +++ b/lang/gawk/files/patch-Makefile.in @@ -1,11 +1,11 @@ ---- Makefile.in.orig 2015-04-29 05:35:51 UTC +--- Makefile.in.orig 2015-05-19 13:38:35 UTC +++ Makefile.in -@@ -1175,7 +1175,7 @@ uninstall-am: uninstall-binPROGRAMS unin - install-exec-hook: +@@ -1178,7 +1178,7 @@ install-exec-hook: (cd $(DESTDIR)$(bindir); \ - $(LN) gawk$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \ + name=`echo gawk | sed '$(transform)'` ; \ + $(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \ - if [ ! -f awk$(EXEEXT) ]; \ + if ! /usr/bin/which -s awk; \ - then $(LN_S) gawk$(EXEEXT) awk$(EXEEXT); \ + then $(LN_S) $${name}$(EXEEXT) awk$(EXEEXT); \ fi; exit 0) -- cgit