chromium,chromedriver: 129.0.6668.91 -> 129.0.6668.100
[NixPkgs.git] / pkgs / by-name / md / md4c / 0001-fix-pkgconfig.patch
blobe0e9f3d96b2b400c6282da9e0c800bf90e53cdcb
1 From 0ab8f5a6ee305cf4edcebfdc7b9eb5f98302de75 Mon Sep 17 00:00:00 2001
2 From: Leif Middelschulte <Leif.Middelschulte@klsmartin.com>
3 Date: Fri, 17 Sep 2021 16:16:17 +0200
4 Subject: [PATCH] pc.in: use _FULL_ variable variants
6 Nix' cmake packaging handler replaces the CMAKE_INSTALL_INCLUDEDIR
7 with the absolute path. Which break package
8 portability (i.e. `prefix`-usage).
9 ---
10 src/md4c-html.pc.in | 6 ++----
11 src/md4c.pc.in | 6 ++----
12 2 files changed, 4 insertions(+), 8 deletions(-)
14 diff --git a/src/md4c-html.pc.in b/src/md4c-html.pc.in
15 index 504bb52..fec7df4 100644
16 --- a/src/md4c-html.pc.in
17 +++ b/src/md4c-html.pc.in
18 @@ -1,7 +1,5 @@
19 -prefix=@CMAKE_INSTALL_PREFIX@
20 -exec_prefix=@CMAKE_INSTALL_PREFIX@
21 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
22 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
23 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
24 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
26 Name: @PROJECT_NAME@ HTML renderer
27 Description: Markdown to HTML converter library.
28 diff --git a/src/md4c.pc.in b/src/md4c.pc.in
29 index cd8842d..b5d81f8 100644
30 --- a/src/md4c.pc.in
31 +++ b/src/md4c.pc.in
32 @@ -1,7 +1,5 @@
33 -prefix=@CMAKE_INSTALL_PREFIX@
34 -exec_prefix=@CMAKE_INSTALL_PREFIX@
35 -libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@
36 -includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
37 +libdir=@CMAKE_INSTALL_FULL_LIBDIR@
38 +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
40 Name: @PROJECT_NAME@
41 Description: Markdown parser library with a SAX-like callback-based interface.
42 --
43 2.31.0