aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild')
-rw-r--r--perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild b/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild
index 2f74a6eea8a3..6ea1dfae129e 100644
--- a/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild
+++ b/perl/perl-Term-ReadLine-Gnu/perl-Term-ReadLine-Gnu.SlackBuild
@@ -18,13 +18,14 @@
# Now maintained by B. Watson <urchlay@slackware.uk>
+# 20230706 bkw: update for v1.46, disable 'make test' by default.
# 20230109 bkw: update for v1.45.
# 20210802 bkw: take over as maintainer and upgrade for v1.42.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-Term-ReadLine-Gnu
-VERSION=${VERSION:-1.45}
+VERSION=${VERSION:-1.46}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -60,12 +61,14 @@ chown -R root:root .
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
+# 20230706 bkw: 'make test' disabled by default because it hangs when
+# run in the background.
perl Makefile.PL \
INSTALLDIRS=vendor \
INSTALLVENDORMAN1DIR=/usr/man/man1 \
INSTALLVENDORMAN3DIR=/usr/man/man3
make
-env INPUTRC=/dev/null make test
+[ "${MAKETEST:-no}" = "yes" ] && env INPUTRC=/dev/null make test
make install DESTDIR=$PKG
gzip -9 $PKG/usr/man/man?/*