ports/sysutils/bareos20-server/files/patch-core-cmake_BareosSetVariableDefaults.cmake
Jose Alonso Cardenas Marquez 51d12f2341 sysutils/bareos-*: Copy to bareos20-* ports
bareos-* ports will be updated to 21.0.0
2022-01-16 17:15:22 -05:00

15 lines
375 B
CMake

--- core/cmake/BareosSetVariableDefaults.cmake 2020-01-31 16:21:15.864122000 -0500
+++ core/cmake/BareosSetVariableDefaults.cmake 2020-01-31 16:23:58.960984000 -0500
@@ -641,7 +641,11 @@
set(PACKAGE_URL "\"\"")
set(PACKAGE_VERSION "\"${BAREOS_NUMERIC_VERSION}\"")
-set(ENABLE_NLS 1)
+if(nls)
+ SET(ENABLE_NLS 1)
+else()
+ SET(ENABLE_NLS 0)
+endif()
if(HAVE_WIN32)