From a9435e65744267a58707df10fb7116e8e9a7d1ae Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 23 Sep 2012 14:04:38 +0200 Subject: [PATCH] gawk: use symlink for pgawk.1 rather than hardlink. --- srcpkgs/gawk/template | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/srcpkgs/gawk/template b/srcpkgs/gawk/template index 9f5cbdf1a89..3a5dcf73ab4 100644 --- a/srcpkgs/gawk/template +++ b/srcpkgs/gawk/template @@ -1,16 +1,20 @@ # Template file for 'gawk' pkgname=gawk version=4.0.1 -homepage="http://www.gnu.org/directory/GNU/gawk.html" -distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz" +revision=2 build_style=gnu-configure -configure_args="ac_cv_func_working_mktime=yes --with-readline" +configure_args="--with-readline" makedepends="readline-devel" -revision=1 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." +pre_configure() { + # Create a symlink rather than a hardlink for pgawk.1. + sed -i -e "s|ln -f|ln -sf|g" doc/Makefile.in +}