blob: 9367c9e68bfc882c85d3f1bd4cdfe869b27c4985 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ao,v 1.2 2010/05/02 14:09:12 wiz Exp $
--- Lib/distutils/util.py.orig 2010-01-08 23:27:23.000000000 +0000
+++ Lib/distutils/util.py
@@ -87,6 +87,8 @@ def get_platform ():
m = rel_re.match(release)
if m:
release = m.group()
+ elif osname[:9] == "dragonfly":
+ release = string.split(release, "-")[0]
elif osname[:6] == "darwin":
#
# For our purposes, we'll assume that the system version from
|