perl/perl-GD: Fix -current build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-10-12 01:49:57 -04:00 committed by Willy Sudiarto Raharjo
parent 397bc0cd9b
commit f4750430e5
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 8 additions and 4 deletions

View File

@ -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 \