$NetBSD: patch-aa,v 1.5 2013/03/15 21:50:15 wiz Exp $ Adapt for pkgsrc. --- update-mime-database.c.orig 2007-06-27 21:46:53.000000000 +0200 +++ update-mime-database.c @@ -1510,7 +1510,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++)