You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-db/mariadb-connector-c/files/mariadb-connector-c-3.0.7-f...

33 lines
998 B

https://bugs.gentoo.org/673218
--- a/mariadb_config/CMakeLists.txt
+++ b/mariadb_config/CMakeLists.txt
@@ -59,5 +59,5 @@ INSTALL(TARGETS mariadb_config
COMPONENT Development)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libmariadb.pc
- DESTINATION "lib/pkgconfig"
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
COMPONENT Development)
--- a/mariadb_config/libmariadb.pc.in
+++ b/mariadb_config/libmariadb.pc.in
@@ -7,13 +7,12 @@
#
prefix=@CMAKE_INSTALL_PREFIX@
-includedir=${prefix}/@INSTALL_INCLUDEDIR@/@SUFFIX_INSTALL_DIR@
-libdir=${prefix}/@INSTALL_LIBDIR@/@SUFFIX_INSTALL_DIR@
+includedir=${prefix}/include
+libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
Name: libmariadb
Version: @CPACK_PACKAGE_VERSION@
+URL: https://mariadb.com/kb/en/library/mariadb-connector-c/
Description: MariaDB Connector/C dynamic library
-Cflags: -I${includedir}
-Libs: -L${libdir} -lmariadb @extra_dynamic_LDFLAGS@
-
-
+Cflags: -I${includedir}/mariadb
+Libs: -L${libdir} -lmariadb