2017-03-23 13:15:46 +01:00
|
|
|
Author: Adam Majer <amajer@suse.de>
|
|
|
|
Date: Fri Mar 3 15:59:09 CET 2017
|
|
|
|
Summary: Remove pure ugliness with paths
|
|
|
|
|
2020-11-05 16:57:23 +01:00
|
|
|
Index: mariadb-connector-c-3.1.11-src/mariadb_config/libmariadb.pc.in
|
2017-03-23 13:15:46 +01:00
|
|
|
===================================================================
|
2020-11-05 16:57:23 +01:00
|
|
|
--- mariadb-connector-c-3.1.11-src.orig/mariadb_config/libmariadb.pc.in
|
|
|
|
+++ mariadb-connector-c-3.1.11-src/mariadb_config/libmariadb.pc.in
|
2019-01-07 10:50:38 +01:00
|
|
|
@@ -7,8 +7,8 @@
|
2017-11-07 12:20:45 +01:00
|
|
|
#
|
|
|
|
|
2019-01-07 10:50:38 +01:00
|
|
|
prefix=@CMAKE_INSTALL_PREFIX@
|
|
|
|
-includedir=${prefix}/@INSTALL_INCLUDEDIR@/@SUFFIX_INSTALL_DIR@
|
|
|
|
-libdir=${prefix}/@INSTALL_LIBDIR@/@SUFFIX_INSTALL_DIR@
|
|
|
|
+includedir=@INSTALL_INCLUDEDIR@
|
|
|
|
+libdir=@INSTALL_LIBDIR@
|
2017-11-07 12:20:45 +01:00
|
|
|
|
|
|
|
Name: libmariadb
|
2019-01-07 10:50:38 +01:00
|
|
|
Version: @CPACK_PACKAGE_VERSION@
|
2020-11-06 16:43:00 +01:00
|
|
|
Index: mariadb-connector-c-3.1.11-src/mariadb_config/mariadb_config.c.in
|
|
|
|
===================================================================
|
|
|
|
--- mariadb-connector-c-3.1.11-src.orig/mariadb_config/mariadb_config.c.in
|
|
|
|
+++ mariadb-connector-c-3.1.11-src/mariadb_config/mariadb_config.c.in
|
|
|
|
@@ -210,7 +210,7 @@ end:
|
|
|
|
}
|
|
|
|
if (!p || !p[0])
|
|
|
|
{
|
|
|
|
- strncpy(installation_dir, "@CMAKE_SYSROOT@@CMAKE_INSTALL_PREFIX@", PATH_MAX - 1);
|
|
|
|
+ installation_dir[0] = 0;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|