diff options
author | Johan van Selst <johans@FreeBSD.org> | 2011-07-09 11:27:19 +0000 |
---|---|---|
committer | Johan van Selst <johans@FreeBSD.org> | 2011-07-09 11:27:19 +0000 |
commit | 4cee4bb8722fcb306f195bf2ff5d998a8f49cff1 (patch) | |
tree | f21dcb9687e8dc90725b6a51f32b435c7a7596ef /lang/gawk | |
parent | Update FreeCiv to 2.2.6 (diff) |
Update GNU awk to new major release 4.0
Read the announcement and list of changes at
http://lists.gnu.org/archive/html/info-gnu/2011-06/msg00013.html
Notes
Notes:
svn path=/head/; revision=277394
Diffstat (limited to 'lang/gawk')
-rw-r--r-- | lang/gawk/Makefile | 5 | ||||
-rw-r--r-- | lang/gawk/distinfo | 4 | ||||
-rw-r--r-- | lang/gawk/files/patch-Makefile | 10 | ||||
-rw-r--r-- | lang/gawk/files/patch-configure | 12 | ||||
-rw-r--r-- | lang/gawk/pkg-plist | 16 |
5 files changed, 21 insertions, 26 deletions
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index 75be7047e3b3..3f8d9d04d899 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= gawk -PORTVERSION= 3.1.8 +PORTVERSION= 4.0.0 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= gawk @@ -13,8 +13,11 @@ MASTER_SITE_SUBDIR= gawk MAINTAINER= johans@FreeBSD.org COMMENT= The GNU version of Awk +LIB_DEPENDS= sigsegv:${PORTSDIR}/devel/libsigsegv + INFO= gawk gawkinet +USE_XZ= true GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \ --with-libintl-prefix=${LOCALBASE} \ diff --git a/lang/gawk/distinfo b/lang/gawk/distinfo index 233c9f71b030..5607bdde773a 100644 --- a/lang/gawk/distinfo +++ b/lang/gawk/distinfo @@ -1,2 +1,2 @@ -SHA256 (gawk-3.1.8.tar.gz) = 2146b3cc7a2d2b16a9457e73f14a3cb51a4292575425ed8f16f7e0a5e4f1a50d -SIZE (gawk-3.1.8.tar.gz) = 2627635 +SHA256 (gawk-4.0.0.tar.xz) = abbef4dbab9db0f159c71b941fd93fd1dcb995f5e8a23396d1c2390801c46edf +SIZE (gawk-4.0.0.tar.xz) = 1589204 diff --git a/lang/gawk/files/patch-Makefile b/lang/gawk/files/patch-Makefile index 1c2de7cd73f0..621456613bab 100644 --- a/lang/gawk/files/patch-Makefile +++ b/lang/gawk/files/patch-Makefile @@ -1,11 +1,11 @@ ---- Makefile.in.orig Sun Mar 4 10:18:08 2007 -+++ Makefile.in Sun Mar 4 10:19:23 2007 -@@ -936,7 +936,7 @@ +--- Makefile.in.orig 2011-07-01 16:58:19.000000000 +0200 ++++ Makefile.in 2011-07-01 16:58:47.000000000 +0200 +@@ -1014,7 +1014,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) ]; \ +- if [ ! -f awk ]; \ + if ! /usr/bin/which -s awk; \ - then $(LN_S) gawk$(EXEEXT) awk$(EXEEXT); \ + then $(LN_S) gawk$(EXEEXT) awk; \ fi; exit 0) diff --git a/lang/gawk/files/patch-configure b/lang/gawk/files/patch-configure index fe6aae398a55..e09614a23c43 100644 --- a/lang/gawk/files/patch-configure +++ b/lang/gawk/files/patch-configure @@ -1,11 +1,11 @@ ---- configure.orig Sun Mar 4 10:17:16 2007 -+++ configure Sun Mar 4 10:17:29 2007 -@@ -8113,7 +8113,7 @@ +--- configure.orig 2011-06-23 08:39:36.000000000 +0200 ++++ configure 2011-07-01 16:56:31.000000000 +0200 +@@ -8220,7 +8220,7 @@ fi for ac_header in arpa/inet.h fcntl.h limits.h locale.h libintl.h mcheck.h \ - netdb.h netinet/in.h signum.h stdarg.h string.h \ + netdb.h netinet/in.h stdarg.h stddef.h string.h \ sys/param.h sys/socket.h sys/time.h unistd.h \ - termios.h stropts.h wchar.h wctype.h + termios.h stropts.h do : - as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` - if eval "test \"\${$as_ac_Header+set}\" = set"; then + as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` + ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" diff --git a/lang/gawk/pkg-plist b/lang/gawk/pkg-plist index 3e3686146200..2447a7115179 100644 --- a/lang/gawk/pkg-plist +++ b/lang/gawk/pkg-plist @@ -1,3 +1,4 @@ +bin/dgawk bin/gawk bin/gawk-%%VERSION%% bin/igawk @@ -15,35 +16,26 @@ share/awk/gettime.awk share/awk/group.awk share/awk/join.awk share/awk/libintl.awk -share/awk/nextfile.awk share/awk/noassign.awk share/awk/ord.awk share/awk/passwd.awk +share/awk/quicksort.awk share/awk/readable.awk share/awk/rewind.awk share/awk/round.awk share/awk/strtonum.awk +share/awk/walkarray.awk share/awk/zerofile.awk -%%NLS%%share/locale/ast/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/ca/LC_MESSAGES/gawk.mo %%NLS%%share/locale/da/LC_MESSAGES/gawk.mo %%NLS%%share/locale/de/LC_MESSAGES/gawk.mo %%NLS%%share/locale/es/LC_MESSAGES/gawk.mo +%%NLS%%share/locale/fi/LC_MESSAGES/gawk.mo %%NLS%%share/locale/fr/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/ga/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/he/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/id/LC_MESSAGES/gawk.mo %%NLS%%share/locale/it/LC_MESSAGES/gawk.mo %%NLS%%share/locale/ja/LC_MESSAGES/gawk.mo %%NLS%%share/locale/nl/LC_MESSAGES/gawk.mo %%NLS%%share/locale/pl/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/pt_BR/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/ro/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/rw/LC_MESSAGES/gawk.mo %%NLS%%share/locale/sv/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/tr/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/vi/LC_MESSAGES/gawk.mo -%%NLS%%share/locale/zh_CN/LC_MESSAGES/gawk.mo @dirrm share/awk @dirrm libexec/awk @dirrmtry share/locale/ast/LC_MESSAGES |