glib2: Fix glib-gettextize

Of course it was made from a template which has
datadir=@datadir@
... and the next line:
gettext_dir=$prefix/shared/glib-2.0/gettext

Go figure :-D
This commit is contained in:
François Revol
2014-07-23 18:05:20 +02:00
parent 942b9b160d
commit 3872efa606

View File

@@ -431,3 +431,29 @@ index 2620cb6..34f1edd 100644
#if defined(G_OS_WIN32)
static void
load_user_special_dirs (void)
From 76b841117910d28f624d0758a276ef9e6816bb73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= <revol@free.fr>
Date: Wed, 23 Jul 2014 17:39:04 +0200
Subject: [PATCH] Fix path in glib-gettextize
Why define datadir if you use $prefix/share/ ?
---
glib-gettextize.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/glib-gettextize.in b/glib-gettextize.in
index 7166cf7..a175578 100644
--- a/glib-gettextize.in
+++ b/glib-gettextize.in
@@ -52,7 +52,7 @@ esac
datarootdir=@datarootdir@
datadir=@datadir@
-gettext_dir=$prefix/share/glib-2.0/gettext
+gettext_dir=$datadir/glib-2.0/gettext
while test $# -gt 0; do
case "$1" in
--
1.8.3.4