From 0fad7e2b8475df1e4802542b26d4d85a9515db83 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Mon, 10 Apr 2017 10:54:56 +0200 Subject: [PATCH] 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. --- srcpkgs/gajim/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/gajim/template b/srcpkgs/gajim/template index 3297809aa52..017ac0e4c49 100644 --- a/srcpkgs/gajim/template +++ b/srcpkgs/gajim/template @@ -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 " homepage="https://www.gajim.org" license="GPL-3" distfiles="https://gajim.org/downloads/${version%.*}/gajim-${version}.tar.bz2" -checksum=36a956145c914a1336c88048ddf50f2d5c08ac4f183bbdd8f642fa7d21f85d8f +checksum=b2071bbf499a2ad13ee484ad3d9b967c9c281db865b28c2016bb199146367047