$OpenBSD: patch-xdg_Menu_py,v 1.8 2019/02/27 03:59:57 ajacoutot Exp $

Index: xdg/Menu.py
--- xdg/Menu.py.orig
+++ xdg/Menu.py
@@ -614,7 +614,7 @@ class XMLMenuBuilder(object):
             candidate = os.environ.get('XDG_MENU_PREFIX', '') + "applications.menu"
             filename = _get_menu_file_path(candidate)
         if not filename:
-            raise ParsingError('File not found', "/etc/xdg/menus/%s" % candidate)
+            raise ParsingError('File not found', "${SYSCONFDIR}/xdg/menus/%s" % candidate)
         # check if it is a .menu file
         if not filename.endswith(".menu"):
             raise ParsingError('Not a .menu file', filename)
