aboutsummaryrefslogtreecommitdiffstats
path: root/testing/glog/pc-file.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-07-23 12:26:59 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-07-23 13:09:30 -0300
commitf4a24425e2cd8632cf788d43449fa38dedc6a240 (patch)
tree8cf09b9b5ff203e53e8856317c9bc420ad6b95c2 /testing/glog/pc-file.patch
parent301f5816ba6e8b7297f665482d833e200ad10a0a (diff)
downloadaports-f4a24425e2cd8632cf788d43449fa38dedc6a240.tar.bz2
aports-f4a24425e2cd8632cf788d43449fa38dedc6a240.tar.xz
testing/glog: install libglog.pc instead of glog.pc
Diffstat (limited to 'testing/glog/pc-file.patch')
-rw-r--r--testing/glog/pc-file.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/testing/glog/pc-file.patch b/testing/glog/pc-file.patch
index bbb1e9ef8f..13586ff29a 100644
--- a/testing/glog/pc-file.patch
+++ b/testing/glog/pc-file.patch
@@ -13,18 +13,18 @@ index 808330e..0b5aaff 100644
+endif ()
+
+if (PKGCONFIG_INSTALL_DIR)
-+ configure_file ("cmake/glog.pc.in" "${PROJECT_BINARY_DIR}/${CPACK_PACKAGE_NAME}.pc" @ONLY)
-+ install (FILES "${PROJECT_BINARY_DIR}/${CPACK_PACKAGE_NAME}.pc" DESTINATION "${PKGCONFIG_INSTALL_DIR}")
++ configure_file ("cmake/libglog.pc.in" "${PROJECT_BINARY_DIR}/lib${CPACK_PACKAGE_NAME}.pc" @ONLY)
++ install (FILES "${PROJECT_BINARY_DIR}/lib${CPACK_PACKAGE_NAME}.pc" DESTINATION "${PKGCONFIG_INSTALL_DIR}")
+endif ()
+
configure_package_config_file (glog-config.cmake.in
${CMAKE_CURRENT_BINARY_DIR}/glog-config.cmake
INSTALL_DESTINATION ${_glog_CMake_INSTALLDIR}
-diff --git a/cmake/glog.pc.in b/cmake/glog.pc.in
+diff --git a/cmake/libglog.pc.in b/cmake/libglog.pc.in
new file mode 100644
index 0000000..98b54bb
--- /dev/null
-+++ b/cmake/glog.pc.in
++++ b/cmake/libglog.pc.in
@@ -0,0 +1,10 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}