freebsd-ports/net-p2p/eiskaltdcpp-lib/files/patch-dcpp__CMakeLists.txt
Pawel Pekala fb97b52598 Update to version 2.2.4
Changelog: https://github.com/negativ/eiskaltdcpp/blob/master/ChangeLog.txt

PR:		ports/161898
Submitted by:	Maxim Ignatenko <gelraen.ua@gmail.com> (maintainer)
2011-10-24 22:20:59 +00:00

30 lines
1.1 KiB
Text

--- dcpp/CMakeLists.txt.orig 2011-10-02 18:12:43.000000000 +0300
+++ dcpp/CMakeLists.txt 2011-10-03 10:14:13.000000000 +0300
@@ -34,8 +34,6 @@
set (APPLE_LIBS "iconv")
endif (APPLE)
-set (UPNP "extra")
-
add_library (dcpp ${LINK} ${dcpp_srcs})
if (WITH_DHT)
@@ -76,8 +74,8 @@
endif (WIN32)
target_link_libraries (dcpp ${DHT_LIB} ${PTHREADS} ${BZIP2_LIBRARIES} ${ZLIB_LIBRARIES}
-${OPENSSL_LIBRARIES} ${GETTEXT_LIBRARIES} ${ICONV_LIBRARIES} ${WIN32_LIBS} ${APPLE_LIBS} ${LUA_LIBRARIES} ${UPNP} ${PCRE} ${IDNA_LIBRARIES})
-set_target_properties(dcpp PROPERTIES VERSION ${SOVERSION} OUTPUT_NAME "eiskaltdcpp")
+${OPENSSL_LIBRARIES} ${GETTEXT_LIBRARIES} ${ICONV_LIBRARIES} ${WIN32_LIBS} ${APPLE_LIBS} ${LUA_LIBRARIES} ${UPNP} ${PCRE} ${IDNA_LIBRARIES} extra)
+set_target_properties(dcpp PROPERTIES SOVERSION 2 VERSION ${SOVERSION} OUTPUT_NAME "eiskaltdcpp")
if (APPLE)
set (LIBDIR1 .)
@@ -86,6 +84,6 @@
if (LINK STREQUAL SHARED)
install (TARGETS dcpp
- LIBRARY DESTINATION ${LIBDIR} NAMELINK_SKIP
+ LIBRARY DESTINATION ${LIBDIR}
BUNDLE DESTINATION ${LIBDIR1})
endif (LINK STREQUAL SHARED)