diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-12-04 17:23:35 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | c3c747fca66a04ab9c9cb6163c4b9f34ce9bb836 (patch) | |
tree | 95860b845e20314b48f0a8115582ace61a3db447 /perl/perl-Test-Trap | |
parent | 7806613633bd5665f66504f3dc37f102418f78b3 (diff) | |
download | slackbuilds-c3c747fca66a04ab9c9cb6163c4b9f34ce9bb836.tar.gz |
perl/perl-Test-TCP: Fix build with perl-5.22.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'perl/perl-Test-Trap')
-rw-r--r-- | perl/perl-Test-Trap/perl-Test-Trap.SlackBuild | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild index 839fc005db..81f03c4eac 100644 --- a/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild +++ b/perl/perl-Test-Trap/perl-Test-Trap.SlackBuild @@ -53,15 +53,14 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -perl Build.PL \ - prefix=/usr \ - installdirs=vendor \ - destdir=$PKG -./Build -./Build test -./Build install \ - --install_path bindoc=/usr/man/man1 \ - --install_path libdoc=/usr/man/man3 +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make +make test +make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |