lang/gawk: update the port to the latest version 5.2.2

GNU make is not required for the build, but the test suite assumes
this particular implementation in several places.  While they could
be patched, some of these changes won't be easily upstreamable I'm
afraid, so let's just USES+=gmake for the time being.

Drop the `post-patch' target added in commit 0c0c5d528f (n243249)
to prevent bogus makeinfo(1) banner propagation as this problem no
longer exhibits itself.

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev
2023-05-24 08:51:22 +00:00
parent 1d6743431e
commit b4895e1e5e
4 changed files with 17 additions and 13 deletions
+2 -5
View File
@@ -1,5 +1,5 @@
PORTNAME= gawk
PORTVERSION= 5.2.1
PORTVERSION= 5.2.2
CATEGORIES= lang
MASTER_SITES= GNU
@@ -25,7 +25,7 @@ MPFR_CONFIGURE_OFF= --without-gmp --without-mpfr
INFO= gawk gawkinet gawkworkflow pm-gawk
GNU_CONFIGURE= yes
USES= iconv libtool makeinfo readline tar:lz
USES= gmake iconv libtool makeinfo readline tar:lz
CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \
--with-libintl-prefix=${LOCALBASE} \
AWK=${AWK}
@@ -34,7 +34,4 @@ TEST_TARGET= check
PLIST_SUB+= VERSION=${PORTVERSION}
post-patch:
@${RM} ${WRKSRC}/doc/*.info
.include <bsd.port.mk>
+3 -3
View File
@@ -1,3 +1,3 @@
TIMESTAMP = 1669135006
SHA256 (gawk-5.2.1.tar.lz) = 26c58bfe5b1c0d2ab2b5d440772bd28baa9d282e0ba42ca3e1270f784c72d3ad
SIZE (gawk-5.2.1.tar.lz) = 3253425
TIMESTAMP = 1683611786
SHA256 (gawk-5.2.2.tar.lz) = d672438c4faaee78562adfeea31ad183881fe2b694c6a79025591810ec39972d
SIZE (gawk-5.2.2.tar.lz) = 3272115
+5 -5
View File
@@ -1,9 +1,9 @@
--- Makefile.in.orig 2015-05-19 13:38:35 UTC
--- Makefile.in.orig 2023-05-07 18:29:33 UTC
+++ Makefile.in
@@ -1178,7 +1178,7 @@ install-exec-hook:
(cd $(DESTDIR)$(bindir); \
name=`echo gawk | sed '$(transform)'` ; \
$(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
@@ -1306,7 +1306,7 @@ install-exec-hook:
if [ ! -f gawk-$(VERSION)$(EXEEXT) ]; \
then $(LN) $${name}$(EXEEXT) gawk-$(VERSION)$(EXEEXT) 2>/dev/null ; \
fi; \
- if [ ! -f awk$(EXEEXT) ]; \
+ if ! /usr/bin/which -s awk; \
then $(LN_S) $${name}$(EXEEXT) awk$(EXEEXT); \
+7
View File
@@ -60,6 +60,13 @@ share/awk/shellquote.awk
share/awk/strtonum.awk
share/awk/walkarray.awk
share/awk/zerofile.awk
share/info/gawk_api-figure1.png
share/info/gawk_api-figure2.png
share/info/gawk_api-figure3.png
share/info/gawk_array-elements.png
share/info/gawk_general-program.png
share/info/gawk_process-flow.png
share/info/gawk_statist.jpg
%%NLS%%share/locale/bg/LC_MESSAGES/gawk.mo
%%NLS%%share/locale/ca/LC_MESSAGES/gawk.mo
%%NLS%%share/locale/da/LC_MESSAGES/gawk.mo