[glib/glib-2-30] Fix DATADIRNAME on OpenBSD.



commit 698b2e9e5184283bbe839d28adc2d62556d09e11
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]