[glib] Fix DATADIRNAME on OpenBSD.



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]