summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2018-12-15 00:02:56 +0000
committerThomas Deutschmann <whissi@gentoo.org>2018-12-17 00:30:05 +0100
commit174061c8b1c673f8f97c2874159772398c46d4f7 (patch)
tree652785e333059f8887a5f32405f6259269a85792 /dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch
parentdev-libs/libbson: bump to 1.13.0 (diff)
downloadgentoo-174061c8b1c673f8f97c2874159772398c46d4f7.tar.gz
gentoo-174061c8b1c673f8f97c2874159772398c46d4f7.tar.bz2
gentoo-174061c8b1c673f8f97c2874159772398c46d4f7.zip
dev-libs/mongo-c-driver: bump to 1.13.0
Closes: https://bugs.gentoo.org/673086 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch')
-rw-r--r--dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch
new file mode 100644
index 000000000000..64a90bbe3ece
--- /dev/null
+++ b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.13.0-no-uninstall.patch
@@ -0,0 +1,27 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f7a0dfe..22d1f4f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -271,7 +271,6 @@ if (ENABLE_MONGOC)
+ VERSION_CURRENT
+ VERSION_RELEASED
+ # This sub-directory is added later, so manually include here
+- generate_uninstall/CMakeLists.txt
+ )
+
+ set_local_dist (top_DIST ${top_DIST_local})
+@@ -341,14 +340,8 @@ if (WIN32)
+ else ()
+ set (UNINSTALL_PROG "uninstall.sh")
+ endif ()
+-set (UNINSTALL_PROG_DIR "${CMAKE_INSTALL_FULL_DATADIR}/mongo-c-driver")
+
+ # Create uninstall program and associated uninstall target
+ #
+ # This needs to be last (after all other add_subdirectory calls) to ensure that
+ # the generated uninstall program is complete and correct
+-add_subdirectory (generate_uninstall)
+-
+-add_custom_target (uninstall
+- COMMAND "${UNINSTALL_PROG_DIR}/${UNINSTALL_PROG}"
+-)