git: 1dc9d35319e9 - main - sysutils/bareos-*: Fix issue when NLS is disabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Dec 2025 18:10:47 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1dc9d35319e97dce79be436cf15dc733282a22d3
commit 1dc9d35319e97dce79be436cf15dc733282a22d3
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2025-12-31 18:09:48 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-12-31 18:09:48 +0000
sysutils/bareos-*: Fix issue when NLS is disabled
PR: 292066
Reported by: diizzy
---
sysutils/bareos-server/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sysutils/bareos-server/Makefile b/sysutils/bareos-server/Makefile
index b7f3555da226..6c079870fc7b 100644
--- a/sysutils/bareos-server/Makefile
+++ b/sysutils/bareos-server/Makefile
@@ -153,7 +153,9 @@ SUB_LIST= BAREOS_USER=${BAREOS_USER} \
BAREOS_DIR=${BAREOS_DIR}
NLS_USES= gettext
-NLS_CMAKE_ON= -Dnls=ON
+NLS_CMAKE_ON= -Dnls=ON \
+ -DENABLE_NLS=ON
+NLS_CMAKE_OFF= -DENABLE_NLS=OFF
# Client only or full server version
.if defined(WITH_CLIENT_ONLY)