summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2021-04-04 00:00:00 +0000
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-04-04 14:59:01 -0700
commit809df6d1150a72505116707581607d21f1c797ae (patch)
tree848e48052ddcc9bda2fb9c90e51fef67faf171c7
parentsys-kernel/git-sources: Linux patch 5.12-rc6 (diff)
downloadgentoo-809df6d1150a72505116707581607d21f1c797ae.tar.gz
gentoo-809df6d1150a72505116707581607d21f1c797ae.tar.bz2
gentoo-809df6d1150a72505116707581607d21f1c797ae.zip
dev-cpp/abseil-cpp: correct pkgconfig file location
Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
-rw-r--r--dev-cpp/abseil-cpp/abseil-cpp-20210324.0-r2.ebuild (renamed from dev-cpp/abseil-cpp/abseil-cpp-20210324.0-r1.ebuild)1
-rw-r--r--dev-cpp/abseil-cpp/files/abseil-cpp-20210324-pkgconfig_path.patch11
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-cpp/abseil-cpp/abseil-cpp-20210324.0-r1.ebuild b/dev-cpp/abseil-cpp/abseil-cpp-20210324.0-r2.ebuild
index dd401361783f..42d1d983e586 100644
--- a/dev-cpp/abseil-cpp/abseil-cpp-20210324.0-r1.ebuild
+++ b/dev-cpp/abseil-cpp/abseil-cpp-20210324.0-r2.ebuild
@@ -36,6 +36,7 @@ RESTRICT="!test? ( test )"
PATCHES=(
"${FILESDIR}/${PN}-20200923-arm_no_crypto.patch"
+ "${FILESDIR}/${PN}-20210324-pkgconfig_path.patch"
)
src_prepare() {
diff --git a/dev-cpp/abseil-cpp/files/abseil-cpp-20210324-pkgconfig_path.patch b/dev-cpp/abseil-cpp/files/abseil-cpp-20210324-pkgconfig_path.patch
new file mode 100644
index 000000000000..3ce0a0cefe07
--- /dev/null
+++ b/dev-cpp/abseil-cpp/files/abseil-cpp-20210324-pkgconfig_path.patch
@@ -0,0 +1,11 @@
+--- /CMake/AbseilHelpers.cmake
++++ /CMake/AbseilHelpers.cmake
+@@ -181,7 +181,7 @@
+ Libs: -L\${libdir} $<JOIN:${ABSL_CC_LIB_LINKOPTS}, > $<$<NOT:$<BOOL:${ABSL_CC_LIB_IS_INTERFACE}>>:-labsl_${_NAME}>\n\
+ Cflags: -I\${includedir}${PC_CFLAGS}\n")
+ INSTALL(FILES "${CMAKE_BINARY_DIR}/lib/pkgconfig/absl_${_NAME}.pc"
+- DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig")
++ DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
+ endif()
+ endif()
+