blob: 3588bab5c4937ebf7a100a88492353049b365e66 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ao,v 1.1.1.1 2008/04/24 01:50:58 tnn Exp $
--- Lib/distutils/util.py.orig 2006-05-23 17:54:23.000000000 -0400
+++ Lib/distutils/util.py
@@ -115,6 +115,8 @@ def get_platform ():
elif machine in ('PowerPC', 'Power_Macintosh'):
# Pick a sane name for the PPC architecture.
machine = 'ppc'
+ elif osname[:9] == "dragonfly":
+ release = string.split(release, "-")[0]
return "%s-%s-%s" % (osname, release, machine)
|