aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-13 13:08:30 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-13 13:08:30 +0700
commit0c8e98aeecebe8785e501222f52f619ce56eb533 (patch)
tree5076df0bd89bdb3e44a8ca45ab3f91a3c9063c66 /perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild
parent91a6dbceee71c98d9fb35278364fba4e4b33cc2c (diff)
perl/perl-WWW-Curl: Fix Build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild')
-rw-r--r--perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild b/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild
index df5b95b16ae18..c74feb165b8d5 100644
--- a/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild
+++ b/perl/perl-WWW-Curl/perl-WWW-Curl.SlackBuild
@@ -5,14 +5,14 @@
PRGNAM=perl-WWW-Curl
VERSION=${VERSION:-4.17}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
SRCNAM=$(echo $PRGNAM | cut -f2- -d-)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -23,8 +23,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -52,6 +52,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+patch -p1 < $CWD/WWW-Curl-4.150.0-curl-7.50.2.patch
+
perl Makefile.PL \
PREFIX=/usr \
INSTALLDIRS=vendor \