- forgot one patch

This commit is contained in:
ajacoutot 2008-10-30 14:23:31 +00:00
parent d246cc48ba
commit 18e9a52fc4
2 changed files with 14 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2008/10/30 14:19:24 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.4 2008/10/30 14:23:31 ajacoutot Exp $
COMMENT= python library to access freedesktop.org standards
@ -24,6 +24,6 @@ MODULES= lang/python
NO_REGRESS= Yes
pre-configure:
${SUBST_CMD} ${WRKSRC}/xdg/BaseDirectory.py
${SUBST_CMD} ${WRKSRC}/xdg/{BaseDirectory.py,Menu.py}
.include <bsd.port.mk>

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-xdg_Menu_py,v 1.3 2008/10/30 14:23:31 ajacoutot Exp $
--- xdg/Menu.py.orig Thu Oct 30 15:20:37 2008
+++ xdg/Menu.py Thu Oct 30 15:20:49 2008
@@ -495,7 +495,7 @@ def parse(filename=None):
filename = __getFileName("applications.menu")
if not filename:
- raise ParsingError('File not found', "/etc/xdg/menus/applications.menu")
+ raise ParsingError('File not found', "${SYSCONFDIR}/xdg/menus/applications.menu")
# check if it is a .menu file
if not os.path.splitext(filename)[1] == ".menu":