$NetBSD: patch-aa,v 1.8 2014/04/25 08:53:21 wiz Exp $

Adapt paths for pkgsrc.

--- update-mime-database.c.orig	2013-07-09 22:10:53.000000000 +0000
+++ update-mime-database.c
@@ -2135,7 +2135,7 @@ static void check_in_path_xdg_data(const
 
 	env = getenv("XDG_DATA_DIRS");
 	if (!env)
-		env = "/usr/local/share/"PATH_SEPARATOR"/usr/share/";
+		env = PREFIX "/share/"PATH_SEPARATOR"/usr/local/share/"PATH_SEPARATOR"/usr/share/";
 	dirs = g_strsplit(env, PATH_SEPARATOR, 0);
 	g_return_if_fail(dirs != NULL);
 	for (n = 0; dirs[n]; n++)
