$OpenBSD: patch-scripts_xdg-icon-resource,v 1.2 2012/04/09 09:39:15 ajacoutot Exp $
--- scripts/xdg-icon-resource.orig	Sat Jan  1 11:03:14 2011
+++ scripts/xdg-icon-resource	Mon Apr  9 10:42:20 2012
@@ -615,7 +615,7 @@ xdg_user_dir="$xdg_user_dir/$xdg_dir_name"
 xdg_global_dir=
 xdg_global_prefix=
 xdg_system_dirs="$XDG_DATA_DIRS"
-[ -n "$xdg_system_dirs" ] || xdg_system_dirs="/usr/local/share/:/usr/share/"
+[ -n "$xdg_system_dirs" ] || xdg_system_dirs="${LOCALBASE}/share/:/usr/share/"
 for x in `echo "$xdg_system_dirs" | sed 's/:/ /g'`; do
    if [ -w $x/$xdg_dir_name ] ; then
       xdg_global_prefix="$x/icons"
