--- gio/xdgmime/xdgmime.c.orig	2009-03-12 22:09:52.000000000 -0600
+++ gio/xdgmime/xdgmime.c	2009-04-09 23:41:01.000000000 -0600
@@ -257,7 +257,7 @@

   xdg_data_dirs = getenv ("XDG_DATA_DIRS");
   if (xdg_data_dirs == NULL)
-    xdg_data_dirs = "/usr/local/share/:/usr/share/";
+    xdg_data_dirs = "@@PREFIX@@/share/:/usr/share/";

   ptr = xdg_data_dirs;
