mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
perl/perl-WWW-Curl: Update curl patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
84b47d0038
commit
304f937e04
2 changed files with 3 additions and 4 deletions
Binary file not shown.
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue