Index: Makefile =================================================================== --- Makefile (revision 459510) +++ Makefile (working copy) @@ -97,6 +97,8 @@ @${REINPLACE_CMD} -e 's|inotify_support=yes|inotify_support=no| ; \ s|-Werror|| ; \ s|#define HAVE_SYS_INOTIFY_H 1||' ${WRKSRC}/configure + ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/gio/xdgmime/xdgmime.c post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/GConf/gsettings Index: files/patch-gio_xdgmime_xdgmime.c =================================================================== --- files/patch-gio_xdgmime_xdgmime.c (revision 459510) +++ files/patch-gio_xdgmime_xdgmime.c (working copy) @@ -5,7 +5,7 @@ xdg_data_dirs = getenv ("XDG_DATA_DIRS"); if (xdg_data_dirs == NULL) - xdg_data_dirs = "/usr/local/share/:/usr/share/"; -+ xdg_data_dirs = "/usr/local/share/"; ++ xdg_data_dirs = "%%LOCALBASE%%/share/"; ptr = xdg_data_dirs;