$OpenBSD: patch-lib_menubar_menu_gen_lua_in,v 1.3 2014/04/15 11:16:04 dcoppa Exp $
--- lib/menubar/menu_gen.lua.in.orig	Tue Apr 15 12:56:12 2014
+++ lib/menubar/menu_gen.lua.in	Tue Apr 15 12:56:50 2014
@@ -19,7 +19,7 @@ local menu_gen = {}
 
 --- Specifies all directories where menubar should look for .desktop
 -- files. The search is not recursive.
-menu_gen.all_menu_dirs = { '/usr/share/applications/', '/usr/local/share/applications/' }
+menu_gen.all_menu_dirs = "${LOCALBASE}/share/applications/"
 
 --- Specify the mapping of .desktop Categories section to the
 -- categories in the menubar. If "use" flag is set to false then any of
