$NetBSD: patch-ai,v 1.1 2006/04/13 02:26:54 joerg Exp $

--- Lib/distutils/util.py.orig	2000-10-14 04:07:39.000000000 +0000
+++ Lib/distutils/util.py
@@ -54,6 +54,8 @@ def get_platform ():
         # fall through to standard osname-release-machine representation
     elif osname[:4] == "irix":              # could be "irix64"!
         return "%s-%s" % (osname, release)
+    elif osname[:9] == "dragonfly":
+        release = string.split(release, "-")[0]
             
     return "%s-%s-%s" % (osname, release, machine)
 
