gajim: set python interpreter to python2 in configure_args (#6143)

Gajim uses shell scripts as wrappers to start the actual application. It detects the python interpreter during the configure step and writes the absolute path to the interpreter in the scripts. Since these scripts are shell scripts and the python interpreter is not in the shebang line, it is not caught by the shebang rewrite of xbps-src. This can lead to situations where /usr/bin/python is in the wrapper scripts and is linked to python 3 so the start of gajim fails.

Closes #6099.
This commit is contained in:
Helmut Pozimski 2017-04-10 10:54:56 +02:00 committed by Alessio Sergi
parent e9f8841016
commit 0fad7e2b84

View file

@ -1,10 +1,10 @@
# Template file for 'gajim'
pkgname=gajim
version=0.16.7
revision=1
revision=2
noarch=yes
build_style=gnu-configure
configure_args="--enable-site-packages"
configure_args="--enable-site-packages PYTHON=python2"
hostmakedepends="intltool python"
makedepends="python-dbus pygtk-devel python-openssl python-sqlite python-nbxmpp"
depends="${makedepends/-devel/}"
@ -14,4 +14,4 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://www.gajim.org"
license="GPL-3"
distfiles="https://gajim.org/downloads/${version%.*}/gajim-${version}.tar.bz2"
checksum=36a956145c914a1336c88048ddf50f2d5c08ac4f183bbdd8f642fa7d21f85d8f
checksum=b2071bbf499a2ad13ee484ad3d9b967c9c281db865b28c2016bb199146367047