From 3376c86c1cc012e38176d2fd81166a39e2eb9826 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 29 Dec 2012 09:20:30 +0100 Subject: [PATCH] gawk: update to 4.0.2. --- srcpkgs/gawk/template | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/srcpkgs/gawk/template b/srcpkgs/gawk/template index 3a5dcf73ab4..0ba25ffa472 100644 --- a/srcpkgs/gawk/template +++ b/srcpkgs/gawk/template @@ -1,7 +1,7 @@ # Template file for 'gawk' pkgname=gawk -version=4.0.1 -revision=2 +version=4.0.2 +revision=1 build_style=gnu-configure configure_args="--with-readline" makedepends="readline-devel" @@ -9,12 +9,10 @@ short_desc="The GNU awk utility" maintainer="Juan RP " license="GPL-3" homepage="http://www.gnu.org/directory/GNU/gawk.html" -distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz" -checksum=476dee8bea8bc3b04af5cae502b83ea16edd5b703d20418918f8773889d78c80 -long_desc=" - The GNU AWK utility, a pattern scanning and processing tool." +distfiles="http://ftp.gnu.org/gnu/gawk/gawk-${version}.tar.gz" +checksum=6e0de117c3713aa8d7fa347fc9fd645b10038ae49d8cf947d8c1d51cbb76141a pre_configure() { - # Create a symlink rather than a hardlink for pgawk.1. - sed -i -e "s|ln -f|ln -sf|g" doc/Makefile.in + # Create symlinks for bins and manpages. + sed -i -e "s|\$(LN)|\$(LN_S)|g" Makefile.in doc/Makefile.in }