From 68eadab2e1a886045b499f04e06a81eee7e8309e Mon Sep 17 00:00:00 2001 From: Alex Valavanis Date: Fri, 1 Mar 2013 15:57:56 +0000 Subject: Patch generated locale Makefile to give correct installation folder Fixed bugs: - https://launchpad.net/bugs/992047 (bzr r12163) --- autogen.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/autogen.sh b/autogen.sh index 081a5e904..cc315800e 100755 --- a/autogen.sh +++ b/autogen.sh @@ -30,5 +30,14 @@ fi autopoint --force AUTOPOINT='intltoolize --automake --copy' autoreconf --force --install --verbose +# Patch the generated po/Makefile.in.in file so that locale files are installed +# in the correct location on OS X and Free-BSD systems. This is a workaround +# for a bug in intltool. See https://launchpad.net/bugs/398571 +# +# TODO: Drop this hack, and bump our intltool version requiement once the issue +# is fixed in intltool +sed 's/itlocaledir = $(prefix)\/$(DATADIRNAME)\/locale/itlocaledir = $(datarootdir)\/locale/' < po/Makefile.in.in > po/Makefile.in.in.tmp +mv po/Makefile.in.in.tmp po/Makefile.in.in + cd $olddir test -n "$NOCONFIGURE" || "$srcdir/configure" "$@" -- cgit v1.2.3