mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
pygobject3: Fixed to use Python2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
4391dfd04f
commit
d5bb73c091
1 changed files with 3 additions and 2 deletions
5
deps/pygobject3/pygobject3.SlackBuild
vendored
5
deps/pygobject3/pygobject3.SlackBuild
vendored
|
@ -25,7 +25,7 @@
|
||||||
PRGNAM=pygobject3
|
PRGNAM=pygobject3
|
||||||
SRCNAM=pygobject
|
SRCNAM=pygobject
|
||||||
VERSION=${VERSION:-3.10.2}
|
VERSION=${VERSION:-3.10.2}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -72,7 +72,7 @@ find -L . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
|
@ -80,6 +80,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
|
--with-python=/usr/bin/python2.7 \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
make $NUMJOBS || make
|
make $NUMJOBS || make
|
||||||
|
|
Loading…
Reference in a new issue