diff options
Diffstat (limited to 'perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild')
-rw-r--r-- | perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild b/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild index 2a51a3cb5fbfb..46291bd33f836 100644 --- a/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild +++ b/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild @@ -71,7 +71,9 @@ perl Makefile.PL \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -make test +# 20220301 bkw: 'make test' requires internet access, don't run it +# if it looks like the network is down (e.g. due to 'unshare -n'). +ping -w10 -c1 google.com &>/dev/null && make test make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ |