projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
037c91f
)
Fix DATADIRNAME on OpenBSD.
author
Antoine Jacoutot
<ajacoutot@openbsd.org>
Tue, 4 Oct 2011 05:52:10 +0000
(07:52 +0200)
committer
Antoine Jacoutot
<ajacoutot@openbsd.org>
Tue, 4 Oct 2011 14:30:18 +0000
(16:30 +0200)
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
patch
|
blob
|
history
diff --git
a/m4macros/glib-gettext.m4
b/m4macros/glib-gettext.m4
index
77aa9f6
..
c64e64f
100644
(file)
--- 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