nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1From 69b825ef5daebdb6e3b51ce23663003807028634 Mon Sep 17 00:00:00 2001
2From: Thomas Gerbet <thomas@gerbet.me>
3Date: Sun, 28 Sep 2025 21:45:34 +0200
4Subject: [PATCH] Use `@CMAKE_INSTALL_FULL_*DIR@` in pkg-config files
5
6This make possible to install to absolute paths and not only to relative
7paths.
8---
9 cmake/civetweb-cpp.pc.in | 4 ++--
10 cmake/civetweb.pc.in | 4 ++--
11 2 files changed, 4 insertions(+), 4 deletions(-)
12
13diff --git a/cmake/civetweb-cpp.pc.in b/cmake/civetweb-cpp.pc.in
14index ca1232c5..dc2d99e3 100644
15--- a/cmake/civetweb-cpp.pc.in
16+++ b/cmake/civetweb-cpp.pc.in
17@@ -1,7 +1,7 @@
18 prefix=@CMAKE_INSTALL_PREFIX@
19 exec_prefix=${prefix}
20-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
21-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
22+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
23+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
24
25 Name: @PROJECT_NAME@-cpp
26 Description: generic graph library
27diff --git a/cmake/civetweb.pc.in b/cmake/civetweb.pc.in
28index 27cea8f1..dd669c5f 100644
29--- a/cmake/civetweb.pc.in
30+++ b/cmake/civetweb.pc.in
31@@ -1,7 +1,7 @@
32 prefix=@CMAKE_INSTALL_PREFIX@
33 exec_prefix=${prefix}
34-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
35-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
36+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
37+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
38
39 Name: @PROJECT_NAME@
40 Description: generic graph library
41--
422.51.0
43