diff options
author | nivit <nivit@FreeBSD.org> | 2011-02-26 23:30:04 +0800 |
---|---|---|
committer | nivit <nivit@FreeBSD.org> | 2011-02-26 23:30:04 +0800 |
commit | 2c6287833944d08ba7e7a8a46b443136dec8ea4a (patch) | |
tree | 4e5dc3037489120122fce4d52a060a970be8ef12 | |
parent | 96d1fbc3b96a43ac0dd47d08f42cb3bb678f838a (diff) | |
download | freebsd-ports-gnome-2c6287833944d08ba7e7a8a46b443136dec8ea4a.tar.gz freebsd-ports-gnome-2c6287833944d08ba7e7a8a46b443136dec8ea4a.tar.zst freebsd-ports-gnome-2c6287833944d08ba7e7a8a46b443136dec8ea4a.zip |
- Fix build when Python version > 2.6
- Remove MD5 checksum from distinfo
PR: ports/154965
Submitted by: wen
-rw-r--r-- | x11-toolkits/py-kiwi/distinfo | 1 | ||||
-rw-r--r-- | x11-toolkits/py-kiwi/files/patch-kiwi__dist.py (renamed from x11-toolkits/py-kiwi/files/patch-kiwi-dist.py) | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/x11-toolkits/py-kiwi/distinfo b/x11-toolkits/py-kiwi/distinfo index c3b030231e5e..7d8b3c9467d0 100644 --- a/x11-toolkits/py-kiwi/distinfo +++ b/x11-toolkits/py-kiwi/distinfo @@ -1,3 +1,2 @@ -MD5 (kiwi-1.9.26.tar.gz) = 036cb5d9007d816bdc7b9fff9fc3215c SHA256 (kiwi-1.9.26.tar.gz) = 1e37f7d993b1eb4fd33d320a7dc1e16cff84ca8d80467b59540ea2aafeacc6c9 SIZE (kiwi-1.9.26.tar.gz) = 749264 diff --git a/x11-toolkits/py-kiwi/files/patch-kiwi-dist.py b/x11-toolkits/py-kiwi/files/patch-kiwi__dist.py index 4317b4edcba1..e53e3c92a8bd 100644 --- a/x11-toolkits/py-kiwi/files/patch-kiwi-dist.py +++ b/x11-toolkits/py-kiwi/files/patch-kiwi__dist.py @@ -1,11 +1,11 @@ ---- kiwi/dist.py 2009-07-14 19:01:15.000000000 +0200 -+++ kiwi/dist.py.port 2009-08-18 10:28:06.000000000 +0200 +--- ./kiwi/dist.py.orig 2009-07-14 19:01:15.000000000 +0200 ++++ ./kiwi/dist.py 2011-02-26 14:52:14.000000000 +0100 @@ -159,7 +159,7 @@ python_version = sys.version_info[:2] libdir = get_python_lib(plat_specific=False, standard_lib=True, prefix='') - if python_version < (2, 6): -+ if python_version <= (2, 6): ++ if python_version < (2, 6) or os.uname()[0] == 'FreeBSD': site = 'site-packages' else: site = 'dist-packages' |