ports/net-im/ring-libclient/files/patch-CMakeLists.txt
Kurt Jaeger a4f649fb4d New port: net-im/ring-libclient
Ring is a secure and distributed voice, video and chat communication
platform that requires no centralized server and leaves the power
of privacy in the hands of the user.

WWW: https://ring.cx/

PR:		209543
Submitted by:	Yuri Victorovich <yuri@rawbw.com>
2016-05-29 04:49:44 +00:00

21 lines
612 B
Text

--- CMakeLists.txt.orig 2016-05-19 17:41:40 UTC
+++ CMakeLists.txt
@@ -751,7 +751,10 @@ INSTALL( FILES ${libringclient_CONFIG_PA
# COMPATIBILITY SameMajorVersion
# )
+option(FREEBSD_NLS_ON "NLS option: install translations" OFF)
+
# translations
+IF( FREEBSD_NLS_ON )
IF( Qt5LinguistTools_FOUND )
# translation template file
SET(TS_TEMPLATE ${CMAKE_SOURCE_DIR}/translations/lrc_en.ts)
@@ -767,6 +770,7 @@ IF( Qt5LinguistTools_FOUND )
INSTALL(FILES ${QM_FILES} DESTINATION "${CMAKE_INSTALL_PREFIX}/share/libringclient/translations")
ENDIF()
+ENDIF()
# uninstall target
CONFIGURE_FILE(