[packages/wxWidgets] use configuredir
atler
atler at pld-linux.org
Fri Mar 21 20:07:35 CET 2025
commit 51f937dd8b51666105923a2aa41ce03d516dbd2a
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Mar 21 18:31:41 2025 +0100
use configuredir
wxWidgets.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/wxWidgets.spec b/wxWidgets.spec
index 1f0378e..9091fb8 100644
--- a/wxWidgets.spec
+++ b/wxWidgets.spec
@@ -73,6 +73,7 @@ BuildRequires: pkgconfig
BuildRequires: python3
BuildRequires: python3-modules
BuildRequires: rpm-build >= 4.6
+BuildRequires: rpmbuild(macros) >= 2.043
%{?with_gtk3:BuildRequires: wayland-egl-devel}
%if %{with x11}
BuildRequires: xorg-lib-libSM-devel
@@ -955,12 +956,13 @@ args="PYTHON=%{__python3} \
%{?with_sdl:--with-sdl} \
--with-opengl"
+%define configuredir ..
for gui in %{?with_gtk2:'--with-gtk=2'} %{?with_gtk3:'--with-gtk=3'} %{?with_motif:'--with-motif'} %{?with_qt:'--with-qt'} ; do
for unicode in %{?with_ansi:'--disable-unicode'} %{?with_unicode:'--enable-unicode'} ; do
objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
mkdir -p $objdir
cd $objdir
- ../%configure \
+ %configure \
${args} \
${gui} \
--enable-graphics_ctx \
@@ -978,7 +980,7 @@ for unicode in %{?with_ansi:'--disable-unicode'} %{?with_unicode:'--enable-unico
objdir=`echo obj${gui}${unicode}|sed 's/ /_/g'`
mkdir -p $objdir
cd $objdir
- ../%configure \
+ %configure \
${args} \
${gui} \
--enable-universal \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wxWidgets.git/commitdiff/365bf7d820ba46e9d82a468c2693aa078b8cde39
More information about the pld-cvs-commit
mailing list