From 06d3ce53013095ac4ca262ff5eb3b5b66bb69dba Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 25 May 2016 16:10:49 +0100 Subject: [PATCH] gis/gdal: Fixed to remove manpage junk. Signed-off-by: David Spencer --- gis/gdal/gdal.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild index 01d4257d88..a193662749 100644 --- a/gis/gdal/gdal.SlackBuild +++ b/gis/gdal/gdal.SlackBuild @@ -150,6 +150,8 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ make -f GNUmakefile -B man make install-man DESTDIR=$PKG +# smite some junk files +rm -f $PKG/usr/man/man1/_*_.1 find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done