summaryrefslogtreecommitdiff
path: root/source/l/libwebp/libwebp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libwebp/libwebp.SlackBuild')
-rwxr-xr-xsource/l/libwebp/libwebp.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/l/libwebp/libwebp.SlackBuild b/source/l/libwebp/libwebp.SlackBuild
index 2385f6f4..4474c8d2 100755
--- a/source/l/libwebp/libwebp.SlackBuild
+++ b/source/l/libwebp/libwebp.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libwebp
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -109,9 +109,10 @@ make install DESTDIR=$PKG || exit 1
# Fix temporary working directory:
sed -i "/^tmpdir/s|=.*|= 'tmpdir'|" setup.py
- CFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
- LDFLAGS="-L$PKG/usr/lib${LIBDIRSUFFIX} -lwebp" \
- python setup.py install --root=$PKG
+ # python2 dropped dropped as obsolete.
+ #CFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
+ #LDFLAGS="-L$PKG/usr/lib${LIBDIRSUFFIX} -lwebp" \
+ #python setup.py install --root=$PKG
CFLAGS="$SLKCFLAGS -I$PKG/usr/include" \
LDFLAGS="-L$PKG/usr/lib${LIBDIRSUFFIX} -lwebp" \