From 91c30fd042d19d4dd29759491b3723c021ef5a02 Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Fri, 1 Dec 2023 13:24:54 +0100 Subject: [PATCH] qutebrowser: add PYTHONPATH when building --- www-client/qutebrowser/qutebrowser-2.5.4.recipe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www-client/qutebrowser/qutebrowser-2.5.4.recipe b/www-client/qutebrowser/qutebrowser-2.5.4.recipe index 9cbe2c9af..679884a8e 100644 --- a/www-client/qutebrowser/qutebrowser-2.5.4.recipe +++ b/www-client/qutebrowser/qutebrowser-2.5.4.recipe @@ -48,6 +48,9 @@ BUILD_PREREQUIRES=" BUILD() { python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python$PYTHON_VERSION + pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c4) + installLocation=$prefix/lib/python$pythonVersion/vendor-packages/ + export PYTHONPATH=$installLocation:$PYTHONPATH make -f misc/Makefile PYTHON=python$PYTHON_VERSION all }