openbsd-ports/productivity/rednotebook/patches/patch-setup_py
2012-04-07 13:14:17 +00:00

16 lines
585 B
Plaintext

$OpenBSD: patch-setup_py,v 1.6 2012/04/07 13:14:17 ajacoutot Exp $
Fix build on clean system.
--- setup.py.orig Sat Jan 21 17:26:25 2012
+++ setup.py Sat Apr 7 15:06:50 2012
@@ -222,7 +222,7 @@ if set(['build', 'install', 'bdist', 'py2exe', 'i18n']
# Freedesktop parameters
share_dir = join(get_data_base_dir(), 'share')
-if os.path.exists(share_dir):
+if 1:
parameters['data_files'].extend([
(join(share_dir, 'applications'), ['rednotebook.desktop']),
(join(share_dir, 'icons/hicolor/48x48/apps'), ['rednotebook.png']),# new freedesktop.org spec