summaryrefslogtreecommitdiffstats
path: root/gawk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gawk/Pkgfile')
-rwxr-xr-xgawk/Pkgfile12
1 files changed, 2 insertions, 10 deletions
diff --git a/gawk/Pkgfile b/gawk/Pkgfile
index 155c5149d..8e6d14df6 100755
--- a/gawk/Pkgfile
+++ b/gawk/Pkgfile
@@ -11,19 +11,11 @@ source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
cd $name-$version
- CFLAGS='-rdynamic' ./configure --prefix=/usr \
- --libexec=/usr/lib \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- ac_cv_func_working_mktime=yes
+ ./configure --prefix=/usr \
+ --libexec=/usr/lib
make
make DESTDIR=$PKG install
if [ -f $PKG/usr/share/info/dir ]; then
rm $PKG/usr/share/info/dir
fi
- rm $PKG/usr/bin/gawk-$version \
- $PKG/usr/bin/pgawk-$version \
- $PKG/usr/bin/{p,i}gawk \
- $PKG/usr/share/man/man1/{p,i}gawk.1
- ln -sf gawk.1.gz $PKG/usr/share/man/man1/awk.1.gz
}