diff options
author | Antoine Jacoutot <ajacoutot@openbsd.org> | 2011-10-04 07:52:10 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-10-13 23:59:59 -0400 |
commit | 698b2e9e5184283bbe839d28adc2d62556d09e11 (patch) | |
tree | 581e7b37d723aadc903654d2864fdf470100bd69 | |
parent | b20f3d8280f66757a2af1e1f141e073e8f40bb97 (diff) |
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".
-rw-r--r-- | 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 77aa9f63f..c64e64f45 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 |