diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-25 01:33:29 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-06-25 08:37:11 +0700 |
commit | 614e53381f292adf4417a15d745eb878a545d03b (patch) | |
tree | ba041cb502cc8ac7154303f3c2415ab1e9f6be59 | |
parent | c2912618a1478e0249230290449f1115c340339f (diff) | |
download | slackbuilds-614e53381f292adf4417a15d745eb878a545d03b.tar.gz |
perl/perl-extutils-makemaker: Fix overwriting Slackware's perl.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | perl/perl-extutils-makemaker/perl-extutils-makemaker.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/perl/perl-extutils-makemaker/perl-extutils-makemaker.SlackBuild b/perl/perl-extutils-makemaker/perl-extutils-makemaker.SlackBuild index 8e13ab0279..2fd8f65b8b 100644 --- a/perl/perl-extutils-makemaker/perl-extutils-makemaker.SlackBuild +++ b/perl/perl-extutils-makemaker/perl-extutils-makemaker.SlackBuild @@ -23,7 +23,7 @@ PRGNAM=perl-extutils-makemaker VERSION=${VERSION:-7.04} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -78,10 +78,9 @@ make make test make install DESTDIR=$PKG -mv $PKG/usr/share/man/man1 $PKG/usr/man/ -rm -rf $PKG/usr/share/man -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 +# avoid conflict with Slackware's perl file +rm -rf $PKG/usr/share/man $PKG/usr/man/ +rm -f $PKG/usr/bin/instmodsh find $PKG -name perllocal.pod \ -o -name ".packlist" \ |