- forgot one patch
This commit is contained in:
parent
d246cc48ba
commit
18e9a52fc4
@ -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>
|
||||
|
12
devel/py-xdg/patches/patch-xdg_Menu_py
Normal file
12
devel/py-xdg/patches/patch-xdg_Menu_py
Normal 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":
|
Loading…
Reference in New Issue
Block a user