aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-GD
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-10-12 01:49:57 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-13 00:52:43 +0700
commitf4750430e5b7fcb119c75ef988120f88ec67b596 (patch)
tree9ce4f88b7bc92d3b97f4525b646d8234390938c1 /perl/perl-GD
parent397bc0cd9bfb2dfcdbfa97523f02f9f02e15add2 (diff)
perl/perl-GD: Fix -current build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-GD')
-rw-r--r--perl/perl-GD/perl-GD.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/perl/perl-GD/perl-GD.SlackBuild b/perl/perl-GD/perl-GD.SlackBuild
index 2ac53379b405..c5c6a2557461 100644
--- a/perl/perl-GD/perl-GD.SlackBuild
+++ b/perl/perl-GD/perl-GD.SlackBuild
@@ -6,6 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20211012 bkw: BUILD=2. Fix -current build, by commenting out
+# 'make test'. This is because of the (fairly) recent gd-2.3.3
+# update in -current. libgd upstream changed the default for the
+# (undocumented) --enable-gd-formats option to 'no' in 2.3.3, and
+# the perl-GD tests include .gd and .gd2 images. Sent a note to PV,
+# hopefully he rebuilds gd with re-added support for .gd/.gd2 images.
+
# 20200929 bkw: update for v2.73
# 20191201 bkw: update for v2.71
# 20180829 bkw: update for v2.69
@@ -30,9 +37,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -91,7 +95,7 @@ perl Makefile.PL \
INSTALLVENDORMAN3DIR=/usr/man/man3 \
INSTALLVENDORMAN1DIR=/usr/man/man1
make
-make test
+# make test # commented out until further notice!
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \