diff options
Diffstat (limited to 'dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-pc-prefix.patch')
-rw-r--r-- | dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-pc-prefix.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-pc-prefix.patch b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-pc-prefix.patch new file mode 100644 index 000000000000..0b4a716e6c9d --- /dev/null +++ b/dev-libs/roct-thunk-interface/files/roct-thunk-interface-2.6.0-pc-prefix.patch @@ -0,0 +1,22 @@ +https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pull/40 + +From fb42a02230ed5140b3ac3beadb38ca39eb9ea463 Mon Sep 17 00:00:00 2001 +From: Craig Andrews <candrews@integralblue.com> +Date: Mon, 22 Jul 2019 17:17:09 -0400 +Subject: [PATCH] Use CMAKE_INSTALL_PREFIX in pkgconfig + +The location where files are installed is the value to use; the CPACK packaging directory isn't important as the pkgconfig file is used on the system after the package is installed. +--- + libhsakmt.pc.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libhsakmt.pc.in b/libhsakmt.pc.in +index 3093afc..1abb66d 100644 +--- a/libhsakmt.pc.in ++++ b/libhsakmt.pc.in +@@ -1,4 +1,4 @@ +-prefix=@CPACK_PACKAGING_INSTALL_PREFIX@ ++prefix=@CMAKE_INSTALL_PREFIX@ + exec_prefix=${prefix} + libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@ + includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ |