blob: ff10f86a2bb272ba4602e90acd46e5e3fe8caff8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ao,v 1.1.1.1 2011/02/22 08:52:01 obache Exp $
--- Lib/distutils/util.py.orig 2010-05-05 19:09:31.000000000 +0000
+++ Lib/distutils/util.py
@@ -177,6 +177,8 @@ def get_platform ():
# See 'i386' case
if sys.maxint >= 2**32:
machine = 'ppc64'
+ elif osname[:9] == "dragonfly":
+ release = str.split(release, "-")[0]
return "%s-%s-%s" % (osname, release, machine)
|