aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-kiwi/files/patch-kiwi__dist.py
blob: e53e3c92a8bd396ecbbd0481b44d9fbc854e70a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./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) or os.uname()[0] == 'FreeBSD':
         site = 'site-packages'
     else:
         site = 'dist-packages'