Package: magics++ / 4.5.3-1

pkgconfig-fix.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Author: Alastair McKinstry <mckinstry@debian.org>
Description: Fixes for pkgconfig building on Debian
Last-Updated: 2019-07-29
Forwarded: no

Index: magics++-4.5.0/cmake/pkg-config.pc.in
===================================================================
--- magics++-4.5.0.orig/cmake/pkg-config.pc.in
+++ magics++-4.5.0/cmake/pkg-config.pc.in
@@ -3,9 +3,9 @@
 
 git_tag=@PKGCONFIG_GIT_TAG@
 
-prefix=${pcfiledir}/../..
+prefix=usr
 exec_prefix=${prefix}
-libdir=${prefix}/@INSTALL_LIB_DIR@
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
 includedir=${prefix}/@INSTALL_INCLUDE_DIR@
 bindir=${prefix}/@INSTALL_BIN_DIR@
 fmoddir=${prefix}/@INSTALL_INCLUDE_DIR@