perl/perl-WWW-Curl: Update curl patch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2024-04-29 00:00:43 +07:00
parent 84b47d0038
commit 304f937e04
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 3 additions and 4 deletions

View file

@ -7,7 +7,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=perl-WWW-Curl
VERSION=${VERSION:-4.17}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -21,9 +21,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
@ -64,6 +61,8 @@ find -L . \
zcat $CWD/curl-7.71.0.patch.gz | patch -p1
PERL_USE_UNSAFE_INC=1 \
PERL_MM_USE_DEFAULT=1 \
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \