[glib] Fix DATADIRNAME on OpenBSD.
- From: Antoine Jacoutot <ajacoutot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix DATADIRNAME on OpenBSD.
- Date: Tue, 4 Oct 2011 14:34:23 +0000 (UTC)
commit 8f58c2c0c43fadc19463aec214b27bc41c6a1651
Author: Antoine Jacoutot <ajacoutot openbsd org>
Date: Tue Oct 4 07:52:10 2011 +0200
Fix DATADIRNAME on OpenBSD.
On OpenBSD translation files are always installed under PREFIX/share/locale,
there is no such thing as PREFIX/lib/locale; according to that, set
DATADIRNAME to "share".
m4macros/glib-gettext.m4 | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/m4macros/glib-gettext.m4 b/m4macros/glib-gettext.m4
index 77aa9f6..c64e64f 100644
--- a/m4macros/glib-gettext.m4
+++ b/m4macros/glib-gettext.m4
@@ -239,6 +239,10 @@ msgstr ""
[CATOBJEXT=.mo
DATADIRNAME=lib])
;;
+ *-*-openbsd*)
+ CATOBJEXT=.mo
+ DATADIRNAME=share
+ ;;
*)
CATOBJEXT=.mo
DATADIRNAME=lib
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]