[packages/cxxopts] - fixed includedir in .pc file, release 2

qboosh qboosh at pld-linux.org
Mon Oct 5 22:26:39 CEST 2026


commit 101b2d157531660fa2fd7aa5a0f26abfdf49b3b3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 5 22:27:11 2026 +0200

    - fixed includedir in .pc file, release 2

 cxxopts.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/cxxopts.spec b/cxxopts.spec
index 69eff38..e069bf0 100644
--- a/cxxopts.spec
+++ b/cxxopts.spec
@@ -2,7 +2,7 @@ Summary:	Lightweight C++ command line option parser
 Summary(pl.UTF-8):	Lekki parser opcji linii poleceń dla C++
 Name:		cxxopts
 Version:	3.3.1
-Release:	1
+Release:	2
 License:	MIT
 Group:		Libraries
 #Source0Download: https://github.com/jarro2783/cxxopts/releases
@@ -45,7 +45,10 @@ wykorzystujących cxxopts.
 %build
 install -d build
 cd build
-%cmake ..
+# .pc file generation expects relative CMAKE_INSTALL_INCLUDEDIR
+%cmake .. \
+	-DCMAKE_INSTALL_INCLUDEDIR=include
+
 %{__make}
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cxxopts.git/commitdiff/101b2d157531660fa2fd7aa5a0f26abfdf49b3b3



More information about the pld-cvs-commit mailing list