1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00
freebsd-ports/net-p2p/eiskaltdcpp-lib/files/patch-CMakeLists.txt
Adam Weinberger d133713e0c net-p2p/eiskaltdcpp-cli
net-p2p/eiskaltdcpp-daemon
net-p2p/eiskaltdcpp-data
net-p2p/eiskaltdcpp-gtk
net-p2p/eiskaltdcpp-lib
net-p2p/eiskaltdcpp-qt

1. Update to 2.2.9
2. Stage
3. Chase for new build options: gtk30, libcanberra, json-rpc
4. Use master/slave relations

PR:		192869
Submitted by:	Vladimir Kondratiev
2014-08-23 17:20:44 +00:00

52 lines
1.2 KiB
Plaintext

--- CMakeLists.txt.orig 2011-10-02 22:12:43.000000000 +0700
+++ CMakeLists.txt 2013-05-09 17:58:03.000000000 +0700
@@ -169,7 +169,7 @@
endif()
message (STATUS "USED LOCAL BOOST HEADERS")
else (LOCAL_BOOST)
- find_package (Boost REQUIRED)
+ find_package (Boost COMPONENTS system REQUIRED)
if (Boost_VERSION VERSION_LESS 104200)
add_definitions(-DTIMER_OLD_BOOST)
endif()
@@ -234,7 +234,7 @@
if (APPLE)
set (MAN_DIR "${PROJECT_NAME_GLOBAL}.app/man/man1")
else (APPLE)
- set (MAN_DIR "${SHARE_DIR}/man/man1")
+ set (MAN_DIR "${CMAKE_INSTALL_PREFIX}/man/man1")
endif (APPLE)
message (STATUS "Data directory: ${CLIENT_DATA_DIR}")
@@ -287,7 +287,9 @@
endif ()
endif ()
-include_directories(${eiskaltdcpp_BINARY_DIR}
+include_directories(
+ ${EISKALTDCPP_INCLUDE_DIR}
+ ${eiskaltdcpp_BINARY_DIR}
${eiskaltdcpp_SOURCE_DIR}
${GMP_INCLUDE_DIR}
)
@@ -336,13 +338,17 @@
endif (WIN32 OR HAIKU)
add_subdirectory(extra)
-add_subdirectory(data)
+if (INSTALL_DATA)
+ add_subdirectory(data)
+endif (INSTALL_DATA)
if (WITH_DHT)
add_subdirectory (dht)
endif (WITH_DHT)
-add_subdirectory (dcpp)
+if (BUILD_LIB)
+ add_subdirectory (dcpp)
+endif (BUILD_LIB)
if (HAIKU AND HAIKU_PKG)
add_subdirectory (haiku)