0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 01:26:15 +00:00
termux-packages/disabled-packages/kphp/cmake-init-global-vars.cmake.patch
Tee KOBAYASHI 1bbe66e98a kphp: Disabled
Incompatible with latest libuber-h3. A whole bunch of patches are quite
unmaintainable.

kphp-timelib is also disabled as only kphp depends on it.
2022-11-17 18:08:03 +00:00

26 lines
653 B
Diff

--- a/cmake/init-global-vars.cmake
+++ b/cmake/init-global-vars.cmake
@@ -7,12 +7,9 @@
set(GENERATED_DIR "${OBJS_DIR}/generated")
set(AUTO_DIR "${GENERATED_DIR}/auto")
-if(APPLE)
+if(TRUE)
set(CURL_LIB curl)
set(ICONV_LIB iconv)
-else()
- set(CURL_LIB /opt/curl7600/lib/libcurl.a)
- set(RT_LIB rt)
endif()
find_package(Git REQUIRED)
@@ -72,7 +69,7 @@
set(CMAKE_INSTALL_PREFIX "/." CACHE PATH "install prefix" FORCE)
endif()
-set(VK_INSTALL_DIR usr/share/vkontakte)
+set(VK_INSTALL_DIR share/vkontakte)
set(INSTALL_KPHP_SOURCE ${VK_INSTALL_DIR}/kphp_source)
set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})