[packages/firefox] - changed deprecated MACH_USE_SYSTEM_PYTHON=1 to MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
qboosh
qboosh at pld-linux.org
Wed Jul 27 19:54:07 CEST 2022
commit bed44e9bcd8082ea743c93f6b32d3ea0e9e585cc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Jul 27 19:56:03 2022 +0200
- changed deprecated MACH_USE_SYSTEM_PYTHON=1 to MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none
firefox.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/firefox.spec b/firefox.spec
index db0af72..24bb192 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -2230,7 +2230,7 @@ ac_add_options --with-system-zlib
ac_add_options --without-wasm-sandboxed-libraries
EOF
-%if ! %{with clang}
+%if %{without clang}
# On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
# however builds tend to fail on other arches when building in parallel.
MOZ_PARALLEL_BUILD=1
@@ -2253,10 +2253,15 @@ D=$(( RANDOM % (200 - 100 + 1 ) + 5 ))
XVFB_PID=$!
[ -n "$XVFB_PID" ] || exit 1
export DISPLAY=:${D}
-MOZ_PGO=1 AUTOCONF=/usr/bin/autoconf2_13 MACH_USE_SYSTEM_PYTHON=1 ./mach build
+MOZ_PGO=1 \
+AUTOCONF=/usr/bin/autoconf2_13 \
+MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none \
+./mach build
kill $XVFB_PID
%else
-AUTOCONF=/usr/bin/autoconf2_13 MACH_USE_SYSTEM_PYTHON=1 ./mach build
+AUTOCONF=/usr/bin/autoconf2_13 \
+MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none \
+./mach build
%endif
%install
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/a57c3ad2a30e2db86e5bc211d1054ffa5e7469b6
More information about the pld-cvs-commit
mailing list