summaryrefslogtreecommitdiff
path: root/media-libs/taglib/files/taglib-1.13.1-pkgconfig.patch
blob: 6907e87ae4a37279a012d41f77aa478b61e17892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From b5d07842d27e61d01c7f2cd0e0c61bc354ebf618 Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sat, 2 Sep 2023 19:53:13 +0200
Subject: [PATCH] Revert pkgconfig file path mangling

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
 bindings/c/taglib_c.pc.cmake | 4 ++--
 taglib.pc.cmake              | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/bindings/c/taglib_c.pc.cmake b/bindings/c/taglib_c.pc.cmake
index 178f1e50..7918d558 100644
--- a/bindings/c/taglib_c.pc.cmake
+++ b/bindings/c/taglib_c.pc.cmake
@@ -1,7 +1,7 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=${prefix}
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
 
 Name: TagLib C Bindings
 Description: Audio meta-data library (C bindings)
diff --git a/taglib.pc.cmake b/taglib.pc.cmake
index 3800f078..575cb310 100644
--- a/taglib.pc.cmake
+++ b/taglib.pc.cmake
@@ -1,7 +1,7 @@
 prefix=@CMAKE_INSTALL_PREFIX@
 exec_prefix=${prefix}
-libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
-includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
 
 Name: TagLib
 Description: Audio meta-data library
-- 
2.42.0