summaryrefslogtreecommitdiff
path: root/net-libs/libquotient/files/libquotient-0.7-no-android.patch
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2022-12-15 11:32:46 -0500
committerGravatar Chris Xiong <chirs241097@gmail.com> 2022-12-15 11:32:46 -0500
commit4bd74f8d8a1edfaaa25bc82c9fc76ddc8f97baee (patch)
treef039b65de0e87d205c9f80d42027b995baedf670 /net-libs/libquotient/files/libquotient-0.7-no-android.patch
parent050772be1105b258beb6b657d70fcfe86cebb06c (diff)
downloadppo-4bd74f8d8a1edfaaa25bc82c9fc76ddc8f97baee.tar.xz
net-libs/libquotient: new package, add 0.6.99
Diffstat (limited to 'net-libs/libquotient/files/libquotient-0.7-no-android.patch')
-rw-r--r--net-libs/libquotient/files/libquotient-0.7-no-android.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-libs/libquotient/files/libquotient-0.7-no-android.patch b/net-libs/libquotient/files/libquotient-0.7-no-android.patch
new file mode 100644
index 0000000..453271e
--- /dev/null
+++ b/net-libs/libquotient/files/libquotient-0.7-no-android.patch
@@ -0,0 +1,13 @@
+--- a/CMakeLists.txt 2022-12-15 11:30:50.177593852 -0500
++++ b/CMakeLists.txt 2022-11-21 12:15:34.000000000 -0500
+@@ -381,9 +381,7 @@
+ "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}ConfigVersion.cmake"
+ DESTINATION ${CMakeFilesLocation}
+ )
+-if (ANDROID)
+- install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules)
+-endif ()
++install(EXPORT_ANDROID_MK ${PROJECT_NAME}Targets DESTINATION ${CMAKE_INSTALL_DATADIR}/ndk-modules)
+
+ if (WIN32)
+ install(FILES mime/packages/freedesktop.org.xml DESTINATION mime/packages)