diff options
author | B. Watson <yalhcru@gmail.com> | 2022-03-01 02:00:35 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-01 19:35:42 +0700 |
commit | 149eb755f04f149744dcd145ce9741b7229debce (patch) | |
tree | a0732fa4618e0ec4f58b0d36cc7add21788af515 /perl/perl-WWW-Curl | |
parent | 5f7399eb32c041939beff0ef7768d99155bfe9f8 (diff) | |
download | slackbuilds-149eb755f04f149744dcd145ce9741b7229debce.tar.gz |
perl/perl-WWW-Curl: Fix build when no network available.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-WWW-Curl')
-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 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 \ |