Explicitely patch for DATADIRNAME; the hack from the gnome MODULE will
be removed soon.
This commit is contained in:
parent
f7cdf62d7d
commit
c0e5f1db5f
25
mail/evolution/patches/patch-m4_intltool_m4
Normal file
25
mail/evolution/patches/patch-m4_intltool_m4
Normal file
@ -0,0 +1,25 @@
|
||||
$OpenBSD: patch-m4_intltool_m4,v 1.1 2012/09/10 17:31:21 ajacoutot Exp $
|
||||
|
||||
Fix DATADIRNAME: see LOCALBASE/share/aclocal/{glib-gettext.m4,intltool.m4}
|
||||
|
||||
--- m4/intltool.m4.orig Mon Aug 13 02:34:02 2012
|
||||
+++ m4/intltool.m4 Mon Sep 10 18:40:36 2012
|
||||
@@ -155,6 +155,8 @@ fi
|
||||
# Substitute ALL_LINGUAS so we can use it in po/Makefile
|
||||
AC_SUBST(ALL_LINGUAS)
|
||||
|
||||
+AC_REQUIRE([AC_CANONICAL_HOST]) dnl we use $host
|
||||
+
|
||||
# Set DATADIRNAME correctly if it is not set yet
|
||||
# (copied from glib-gettext.m4)
|
||||
if test -z "$DATADIRNAME"; then
|
||||
@@ -172,6 +174,9 @@ if test -z "$DATADIRNAME"; then
|
||||
dnl in this case.
|
||||
AC_CHECK_FUNC(bind_textdomain_codeset,
|
||||
[DATADIRNAME=share], [DATADIRNAME=lib])
|
||||
+ ;;
|
||||
+ *-*-openbsd*)
|
||||
+ [DATADIRNAME=share]
|
||||
;;
|
||||
*)
|
||||
[DATADIRNAME=lib]
|
Loading…
Reference in New Issue
Block a user