Fixup fromcvs/togit conversion
[pkgsrcv2.git] / lang / python25 / patches / patch-ao
1 $NetBSD: patch-ao,v 1.2 2007/06/08 14:16:16 wiz Exp $
2
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.
8                  machine = 'ppc'
9 +    elif osname[:9] == "dragonfly":
10 +        release = string.split(release, "-")[0]
11  
12      return "%s-%s-%s" % (osname, release, machine)
13