1 $NetBSD: patch-ao,v 1.2 2007/06/08 14:16:16 wiz Exp $
3 --- Lib/distutils/util.py.orig 2006-05-23 17:54:23.000000000 -0400
4 +++ Lib/distutils/util.py
5 @@ -115,6 +115,8 @@ def get_platform ():
6 elif machine in ('PowerPC', 'Power_Macintosh'):
7 # Pick a sane name for the PPC architecture.
9 + elif osname[:9] == "dragonfly":
10 + release = string.split(release, "-")[0]
12 return "%s-%s-%s" % (osname, release, machine)