svn commit: r384877 - head/finance/electrum/files
John Marino
marino at FreeBSD.org
Mon Apr 27 21:04:13 UTC 2015
Author: marino
Date: Mon Apr 27 21:04:12 2015
New Revision: 384877
URL: https://svnweb.freebsd.org/changeset/ports/384877
Log:
finance/electrum: Unbreak on DragonFly (staging)
Since the setup.py patch would never get sent upstream anyway, I
modified the patch to install the desktop icons on every platform
that ports supports unconditionally rather than check the OSNAME
against a list. Issue was introduced on last commit
Approved by: blanket (restore DF functionality)
Modified:
head/finance/electrum/files/patch-setup.py
Modified: head/finance/electrum/files/patch-setup.py
==============================================================================
--- head/finance/electrum/files/patch-setup.py Mon Apr 27 21:00:10 2015 (r384876)
+++ head/finance/electrum/files/patch-setup.py Mon Apr 27 21:04:12 2015 (r384877)
@@ -1,10 +1,12 @@
--- setup.py.orig 2015-03-14 13:27:54 UTC
+++ setup.py
-@@ -18,7 +18,7 @@ if sys.version_info[:3] < (2, 7, 0):
+@@ -17,8 +17,8 @@ if sys.version_info[:3] < (2, 7, 0):
+
data_files = []
- if platform.system() == 'Linux' or platform.system() == 'FreeBSD':
+-if platform.system() == 'Linux' or platform.system() == 'FreeBSD':
- usr_share = os.path.join(sys.prefix, "share")
++if True:
+ usr_share = '%%PREFIX%%/share'
data_files += [
(os.path.join(usr_share, 'applications/'), ['electrum.desktop']),
More information about the svn-ports-head
mailing list