[gedit/wip/3.14-osx: 41/69] [osx] Always set DATADIRNAME=share



commit 0bf81f86d79bf54794a3e08038f555c4cd706c86
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Sat Aug 23 19:41:37 2014 +0200

    [osx] Always set DATADIRNAME=share

 osx/build/build |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/osx/build/build b/osx/build/build
index 669c1f3..c87f526 100755
--- a/osx/build/build
+++ b/osx/build/build
@@ -105,6 +105,12 @@ function cmd_jh() {
        export HOME="$HOMED"
        export JHB=gedit
 
+       # We set this because without it, GNU gettext intltool or whatever the cause
+       # may be, will set DATADIRNAME=lib during configure because gettext is not part
+       # of libc on OS X. The result is that translations would be installed in lib/
+       # instead of share/ and would not get picked up.
+       export DATADIRNAME=share
+
        "$INSTALLD/bin/jhbuild" -f "$HOMED/.jhbuildrc" "$@"
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]