blob: e228481c37fc0119097e800b7dae4134a13cbb50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ao,v 1.2 2007/06/08 14:16:16 wiz Exp $
--- Lib/distutils/util.py.orig 2006-10-08 17:41:25.000000000 +0000
+++ Lib/distutils/util.py
@@ -116,6 +116,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)
|