$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