6bb77d1a6f
Missing build dependency on ImageMagick (spotted by landry@). Add x11/gnome/mime-data to run depends as well. Fix DATADIRNAME the same way the rest of the tree does.
26 lines
819 B
Plaintext
26 lines
819 B
Plaintext
$OpenBSD: patch-aclocal_m4,v 1.1 2013/03/28 07:49:32 ajacoutot Exp $
|
|
|
|
Fix DATADIRNAME: see LOCALBASE/share/aclocal/{glib-gettext.m4,intltool.m4}
|
|
|
|
--- aclocal.m4.orig Mon Feb 5 02:09:03 2007
|
|
+++ aclocal.m4 Thu Mar 28 08:41:57 2013
|
|
@@ -104,6 +104,8 @@ AC_PATH_PROG(INTLTOOL_XGETTEXT, xgettext, xgettext)
|
|
# 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
|
|
@@ -119,6 +121,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]
|