summaryrefslogtreecommitdiff
path: root/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-install-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/qt5-sqlcipher/files/qt5-sqlcipher-install-path.patch')
-rw-r--r--dev-db/qt5-sqlcipher/files/qt5-sqlcipher-install-path.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-install-path.patch b/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-install-path.patch
new file mode 100644
index 000000000000..d5eb79f5f04e
--- /dev/null
+++ b/dev-db/qt5-sqlcipher/files/qt5-sqlcipher-install-path.patch
@@ -0,0 +1,12 @@
+--- qt5-sqlcipher-orig/CMakeLists.txt
++++ qt5-sqlcipher/CMakeLists.txt
+@@ -120,8 +120,7 @@
+ INSTALL(TARGETS qsqlcipher DESTINATION lib/i386-linux-gnu/qt5/plugins/sqldrivers)
+ endif()
+ else()
+- message(WARNING "Packaging is not set up for this platform, either submit a ticket or change/add pathes yourself, if packaging is required.")
+- INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers)
++ INSTALL(TARGETS qsqlcipher DESTINATION @LIBDIR@/qt5/plugins/sqldrivers)
+ endif()
+ else()
+ INSTALL(TARGETS qsqlcipher DESTINATION sqldrivers)