$OpenBSD: patch-lib_menubar_menu_gen_lua,v 1.2 2017/03/21 19:48:01 dcoppa Exp $
--- lib/menubar/menu_gen.lua.orig	Sat Mar 18 10:49:46 2017
+++ lib/menubar/menu_gen.lua	Tue Mar 21 18:17:24 2017
@@ -25,7 +25,7 @@ end
 
 --- Specifies all directories where menubar should look for .desktop
 -- files. The search is recursive.
-menu_gen.all_menu_dirs = { data_dir .. '/applications/', '/usr/share/applications/', '/usr/local/share/applications/' }
+menu_gen.all_menu_dirs = { data_dir .. '/applications/', '${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
