blob: 2da7cd8dd6471f486450405d5b988b362106c8d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ai,v 1.1 2006/04/13 02:26:54 joerg Exp $
--- Lib/distutils/util.py.orig 2000-10-14 04:07:39.000000000 +0000
+++ Lib/distutils/util.py
@@ -54,6 +54,8 @@ def get_platform ():
# fall through to standard osname-release-machine representation
elif osname[:4] == "irix": # could be "irix64"!
return "%s-%s" % (osname, release)
+ elif osname[:9] == "dragonfly":
+ release = string.split(release, "-")[0]
return "%s-%s-%s" % (osname, release, machine)
|