[packages/crossmingw32-atkmm] - adjusted gmmproc hack to work with rpm.org; release 2

qboosh qboosh at pld-linux.org
Sat May 22 14:21:32 CEST 2021


commit 6fdd4b9d5ed7c69b9a11abc1e25b8f1ef2e2bb51
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat May 22 14:23:39 2021 +0200

    - adjusted gmmproc hack to work with rpm.org; release 2

 crossmingw32-atkmm.spec | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/crossmingw32-atkmm.spec b/crossmingw32-atkmm.spec
index d99885a..0760a4a 100644
--- a/crossmingw32-atkmm.spec
+++ b/crossmingw32-atkmm.spec
@@ -2,7 +2,7 @@ Summary:	A C++ interface for atk library - cross MinGW32 version
 Summary(pl.UTF-8):	Interfejs C++ dla biblioteki atk - wersja skrośna MinGW32
 Name:		crossmingw32-atkmm
 Version:	2.28.2
-Release:	1
+Release:	2
 License:	LGPL v2.1+
 Group:		Development/Libraries
 Source0:	https://download.gnome.org/sources/atkmm/2.28/atkmm-%{version}.tar.xz
@@ -93,8 +93,9 @@ Biblioteka DLL atkmm dla Windows.
 
 %build
 # use host gmmprocdir (before changing PKG_CONFIG_LIBDIR to cross target)
-GMMPROC_DIR=$(pkg-config --variable=gmmprocdir glibmm-2.4)
-export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig:%{_npkgconfigdir}
+# note: rpm.org sets PKG_CONFIG_PATH according to _libdir and _datadir
+GMMPROC_DIR=$(PKG_CONFIG_PATH=%{_sysprefix}/%{_lib}/pkgconfig pkg-config --variable=gmmprocdir glibmm-2.4)
+export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig:%{_npkgconfigdir}
 mm-common-prepare --copy --force
 %{__libtoolize}
 %{__aclocal} -I build
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-atkmm.git/commitdiff/6fdd4b9d5ed7c69b9a11abc1e25b8f1ef2e2bb51



More information about the pld-cvs-commit mailing list