diff options
Diffstat (limited to 'net-p2p/eiskaltdcpp-daemon/files/patch-nasdc__CMakeLists.txt')
-rw-r--r-- | net-p2p/eiskaltdcpp-daemon/files/patch-nasdc__CMakeLists.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/net-p2p/eiskaltdcpp-daemon/files/patch-nasdc__CMakeLists.txt b/net-p2p/eiskaltdcpp-daemon/files/patch-nasdc__CMakeLists.txt index 549974f404a0..55ce7fe7b86f 100644 --- a/net-p2p/eiskaltdcpp-daemon/files/patch-nasdc__CMakeLists.txt +++ b/net-p2p/eiskaltdcpp-daemon/files/patch-nasdc__CMakeLists.txt @@ -1,24 +1,24 @@ ---- ./nasdc/CMakeLists.txt.orig 2011-03-08 19:47:12.000000000 +0200 -+++ ./nasdc/CMakeLists.txt 2011-03-10 19:52:25.000000000 +0200 -@@ -47,7 +47,16 @@ - target_link_libraries (sampleclient ${XMLRPCLIBS}) - endif() +--- nasdc/CMakeLists.txt.orig 2011-10-02 18:12:43.000000000 +0300 ++++ nasdc/CMakeLists.txt 2011-10-03 10:51:06.000000000 +0300 +@@ -49,7 +49,16 @@ + ${nasdc_SRCS} + ) --target_link_libraries (nasdc dcpp ${XMLRPCLIBS} ${RL_LIBS}) +-target_link_libraries (nasdc dcpp ${XMLRPCLIBS}) +if (BUILD_LIB) -+ set(DCPP_LIB dcpp) ++ set(DCPP_LIB dcpp) +else (BUILD_LIB) -+ find_library(DCPP_LIB eiskaltdcpp) -+ if (DCPP_LIB) -+ message(STATUS "EiskaltDC++ shared library found at ${DCPP_LIB}") -+ endif (DCPP_LIB) ++ find_library(DCPP_LIB eiskaltdcpp) ++ if (DCPP_LIB) ++ message(STATUS "EiskaltDC++ shared library found at ${DCPP_LIB}") ++ endif (DCPP_LIB) +endif (BUILD_LIB) + -+target_link_libraries (nasdc ${DCPP_LIB} ${XMLRPCLIBS} ${RL_LIBS}) ++target_link_libraries (nasdc ${DCPP_LIB} ${XMLRPCLIBS}) if (UNIX) set (BINDIR bin) -@@ -77,5 +86,5 @@ +@@ -81,5 +90,5 @@ if (APPLE) install (FILES ${PROJECT_BINARY_DIR}/eiskaltdcpp-daemon.1.gz DESTINATION ${PROJECT_NAME_GLOBAL}.app/man/man1) elseif (UNIX AND NOT APPLE) |