3 --- Lib/distutils/util.py.orig 2013-04-06 14:02:26.000000000 +0000
4 +++ Lib/distutils/util.py
5 @@ -101,6 +101,8 @@ def get_platform ():
6 osname, release, machine = _osx_support.get_platform_osx(
7 distutils.sysconfig.get_config_vars(),
8 osname, release, machine)
9 + elif osname[:9] == "dragonfly":
10 + release = str.split(release, "-")[0]
12 return "%s-%s-%s" % (osname, release, machine)