summaryrefslogtreecommitdiffstats
path: root/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild')
-rw-r--r--perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild4
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 2a51a3cb5f..46291bd33f 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 \