pygobject3: Use Python2 explicitly.

This fixed a problem when python3 is also installed.
Thanks to Eric Hanson.

Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
This commit is contained in:
Willy Sudiarto Raharjo 2014-04-09 23:54:11 +07:00
parent 5897d31c44
commit fef313c7b3

View file

@ -25,7 +25,7 @@
PRGNAM=pygobject3
SRCNAM=pygobject
VERSION=${VERSION:-3.8.3}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_csb}
if [ -z "$ARCH" ]; then
@ -78,6 +78,7 @@ CFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--with-python=python2 \
--build=$ARCH-slackware-linux
make