From 5b11e8f0911355a326a4b672425affbd5e3867daffbb8a3053bfa548e430c07a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Mon, 30 Sep 2024 10:54:32 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main elinks revision 7e2d061991ca55d7f8e3b656b7a990c7 --- elinks.changes | 5 +++++ elinks.spec | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/elinks.changes b/elinks.changes index b79b6b5..cfd8abf 100644 --- a/elinks.changes +++ b/elinks.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Sep 10 20:28:14 UTC 2024 - Gustavo Pichorim Boiko + +- Fix building on ppc64le (by using lua instead of luajit there) + ------------------------------------------------------------------- Sun Jan 14 02:31:22 UTC 2024 - Muhammad Akbar Yanuar Mantari diff --git a/elinks.spec b/elinks.spec index 277fa7c..422d564 100644 --- a/elinks.spec +++ b/elinks.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %if 0%{?suse_version} > 1500 %bcond_without js %else @@ -50,7 +51,11 @@ BuildRequires: pkg-config BuildRequires: ruby-devel BuildRequires: tre-devel BuildRequires: zlib-devel +%ifarch ppc64le +BuildRequires: pkgconfig(lua) +%else BuildRequires: pkgconfig(luajit) +%endif Provides: web_browser BuildRoot: %{_tmppath}/%{name}-%{version}-build %perl_requires @@ -102,7 +107,11 @@ export CFLAGS="%{optflags} -fno-strict-aliasing" --without-guile \ --with-perl \ --without-python \ +%ifarch ppc64le + --with-luapkg=lua \ +%else --with-luapkg=luajit \ +%endif --with-ruby \ --without-gnutls \ --without-x