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