diff options
-rw-r--r-- | net-p2p/fms/files/fms-use-system-libs3.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/net-p2p/fms/files/fms-use-system-libs3.patch b/net-p2p/fms/files/fms-use-system-libs3.patch deleted file mode 100644 index 32a702511d53..000000000000 --- a/net-p2p/fms/files/fms-use-system-libs3.patch +++ /dev/null @@ -1,41 +0,0 @@ ---- CMakeLists.txt 2016-06-04 21:18:20.000000000 +0200 -+++ CMakeLists.txt.new 2017-01-12 17:12:10.000000000 +0100 -@@ -373,11 +373,18 @@ - ENDIF(AUDIO_CAPTCHA)
-
- IF(FROST_SUPPORT OR FCP_SSL_SUPPORT)
-- ADD_SUBDIRECTORY(libs/mbedtls)
-- TARGET_LINK_LIBRARIES(fms mbedtls)
-- TARGET_LINK_LIBRARIES(fms mbedcrypto)
-- TARGET_LINK_LIBRARIES(fms mbedx509)
-- INCLUDE_DIRECTORIES(libs/mbedtls/include)
-+
-+ FIND_LIBRARY(MBEDTLS_LIBRARY NAMES mbedtls )
-+ FIND_LIBRARY(MBEDCRYPTO_LIBRARY NAMES mbedcrypto mbedx509)
-+ FIND_LIBRARY(MBEDX509_LIBRARY NAMES mbedx509)
-+
-+ IF(MBEDTLS_LIBRARY)
-+ TARGET_LINK_LIBRARIES(fms ${MBEDTLS_LIBRARY})
-+ TARGET_LINK_LIBRARIES(fms ${MBEDCRYPTO_LIBRARY})
-+ TARGET_LINK_LIBRARIES(fms ${MBEDX509_LIBRARY})
-+ ELSE(MBEDTLS_LIBRARY)
-+ MESSAGE(FATAL ERROR: "Could not find mbedtls library.")
-+ ENDIF(MBEDTLS_LIBRARY)
-
- IF(FROST_SUPPORT)
- ADD_DEFINITIONS(-DFROST_SUPPORT)
-@@ -405,3 +412,14 @@ - IF(BUILD_PLUGIN)
- ADD_SUBDIRECTORY(plugin)
- ENDIF(BUILD_PLUGIN)
-+
-+MESSAGE(STATUS "<<< Gentoo configuration >>>
-+Build type ${CMAKE_BUILD_TYPE}
-+Install path ${CMAKE_INSTALL_PREFIX}
-+Compiler flags:
-+C ${CMAKE_C_FLAGS}
-+C++ ${CMAKE_CXX_FLAGS}
-+Linker flags:
-+Executable ${CMAKE_EXE_LINKER_FLAGS}
-+Module ${CMAKE_MODULE_LINKER_FLAGS}
-+Shared ${CMAKE_SHARED_LINKER_FLAGS}\n")
|