1
0
minetest-engine-multicraft2/misc/debian/patches/01-kfreebsd-debian-gettex-glibc.patch
mckaygerhard b420f18423 reorganize distro files for packaging: deb/rpm/apk
* move debian directory to misc/debian
* move rmp shit distro directory the spec file and changelog
* move the alpine directory in misc with a minimal started files
* still there's an error on spec file for name of the tarball
* all of those files it depends of the previous commit that gives init/shistemd
2022-12-30 12:19:48 -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)