freebsd-ports/sysutils/barrier/files/patch-CMakeLists.txt
Tobias Kortkamp 2b44b0fc20 New port: sysutils/barrier
Barrier is a community maintained fork of the Symless Synergy 1.9
codebase which aims to maintain its simplicity.  Barrier will let
you use your keyboard and mouse from machine A to control machine
B (or more).  Barrier supports Windows, OS X, Linux, and FreeBSD.

WWW: https://github.com/debauchee/barrier
2019-05-20 14:56:08 +00:00

20 lines
711 B
Text

--- CMakeLists.txt.orig 2018-09-08 23:09:56 UTC
+++ CMakeLists.txt
@@ -333,7 +333,7 @@ elseif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
)
endif()
-elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+elseif (${CMAKE_SYSTEM_NAME} MATCHES "Linux|.*BSD|DragonFly")
set (OPENSSL_LIBS ssl crypto)
else()
find_library (lib_ssl ssl)
@@ -403,7 +403,7 @@ endif()
#
# Linux installation
#
-if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
+if (${CMAKE_SYSTEM_NAME} MATCHES "Linux|.*BSD|DragonFly")
configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/rpm ${CMAKE_BINARY_DIR}/rpm)
install(FILES res/barrier.svg DESTINATION share/icons/hicolor/scalable/apps)
if("${VERSION_MAJOR}" STREQUAL "2")