Fix DATADIRNAME in glib-gettext.m4: on OpenBSD we install translation

files under share/locale, not lib/locale.
This commit is contained in:
ajacoutot 2011-10-03 06:40:28 +00:00
parent 0baec0ba89
commit e8fb0d9bbd
2 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.135 2011/09/27 06:05:28 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.136 2011/10/03 06:40:28 ajacoutot Exp $
COMMENT-main= general-purpose utility library
COMMENT-docs= glib2 documentation
@ -10,6 +10,8 @@ EXTRACT_SUFX= .tar.xz
PKGNAME-main= glib2-${VERSION}
PKGNAME-docs= glib2-docs-${VERSION}
REVISION-main= 0
CATEGORIES= devel
HOMEPAGE= http://www.gtk.org/

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-m4macros_glib-gettext_m4,v 1.1 2011/10/03 06:40:28 ajacoutot Exp $
https://bugzilla.gnome.org/show_bug.cgi?id=660675
--- m4macros/glib-gettext.m4.orig Sun Oct 2 08:43:44 2011
+++ m4macros/glib-gettext.m4 Sat Oct 1 16:03:29 2011
@@ -239,6 +239,9 @@ msgstr ""
[CATOBJEXT=.mo
DATADIRNAME=lib])
;;
+ *-*-openbsd*)
+ CATOBJEXT=.mo
+ DATADIRNAME=share
*)
CATOBJEXT=.mo
DATADIRNAME=lib