| Server IP : 82.208.35.60 / Your IP : 216.73.216.168 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/bareos-server/files/ |
Upload File : |
--- core/CMakeLists.txt 2021-12-21 06:00:49.000000000 -0500
+++ core/CMakeLists.txt 2021-12-21 20:45:08.474921000 -0500
@@ -283,7 +283,9 @@
set(HAVE_FREEBSD_OS 1)
include_directories(/usr/local/include)
link_directories(/usr/local/lib)
- link_libraries(intl)
+ IF(nls)
+ link_libraries(intl)
+ ENDIF()
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
@@ -347,7 +349,9 @@
add_definitions("-D_FILE_OFFSET_BITS=64")
endif()
-include(FindIntl)
+IF(nls)
+ include(FindIntl)
+ENDIF()
if(developer)
add_definitions("-DDEVELOPER=1")
@@ -365,7 +369,7 @@
include(BareosFindStaticCodeAnalysisTools)
if(NOT client-only
- AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS"
+ AND NOT ${CMAKE_SYSTEM_NAME} MATCHES "SunOS|FreeBSD"
AND CMAKE_SIZEOF_VOID_P EQUAL 8
)
# droplet does not build on solaris because of sys/cdefs.h: No such file or
@@ -779,7 +783,6 @@
add_subdirectory(scripts)
add_subdirectory(manpages)
-add_subdirectory(platforms)
add_subdirectory(src)
include(BareosLocalBuildDefinitions OPTIONAL