openbsd-ports/productivity/rednotebook/patches/patch-setup_py
2011-04-15 06:32:42 +00:00

16 lines
582 B
Plaintext

$OpenBSD: patch-setup_py,v 1.5 2011/04/15 06:32:42 jasper Exp $
Fix build on clean system.
--- setup.py.orig Thu Apr 14 23:28:44 2011
+++ setup.py Thu Apr 14 23:29:10 2011
@@ -220,7 +220,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