1
0
minetest-engine-multicraft2/debian/patches/01-kfreebsd-debian-gettex-glibc.patch
mckaygerhard b4b66740dc linux distro pacakging, added unit files and initscript
* added sisvinit unit service script
* added systemshit unit service script
* added debian packaging script and fiels in root dir
* added spec file for shit rpm distros
* added first intent of alpine packaging
2022-12-29 18:36:36 -04:00

26 lines
842 B
Diff

From: Matthew Bekkema <mat8913ftw@gmail.com>
Date: Sun, 4 Jan 2015 20:49:22 +0100
Subject: kfreebsd-gettext
Fix the build on kFreeBSD as it uses glibc
---
cmake/Modules/FindGettextLib.cmake | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- a/cmake/Modules/FindGettextLib.cmake
+++ b/cmake/Modules/FindGettextLib.cmake
@@ -60,9 +60,10 @@ find_package_handle_standard_args(Gettex
if(GETTEXTLIB_FOUND)
# BSD variants require special linkage as they don't use glibc
- if(${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly")
- set(GETTEXT_LIBRARY "intl")
- endif()
+ # DEBIAN CHANGE: kFreeBSD still uses glibc
+# if(${CMAKE_SYSTEM_NAME} MATCHES "BSD|DragonFly")
+# set(GETTEXT_LIBRARY "intl")
+# endif()
set(GETTEXT_PO_PATH ${CMAKE_SOURCE_DIR}/po)
set(GETTEXT_MO_BUILD_PATH ${CMAKE_BINARY_DIR}/locale/<locale>/LC_MESSAGES)