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>
This commit is contained in:
parent
5f7399eb32
commit
149eb755f0
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue