--- build/os-type.orig	1998-11-10 03:37:27 UTC
+++ build/os-type
@@ -83,7 +83,7 @@ fi
 if [ -z "${OS}" -a ! -z "${uname}" ]; then
 	case "`$uname -a | tr '[A-Z]' '[a-z]'`" in
 		    osf1*)	OS=break;;
-		*"4.0"*)	OS=svr4;;	# There has to be a better way
+#		*"4.0"*)	OS=svr4;;	# There has to be a better way
 		*" dcosx "*)	OS=dcosx;;
 		*"cx/ux"*)	OS=cxux;;
 		*"hp-ux"*)	# HP-UX 9.x
@@ -111,7 +111,8 @@ if [ -z "${OS}" -a ! -z "${uname}" ]; then
 				OS="${osname}${osmajver}"
 				;;
 		"linux"*)	OS=linux;;
-		"freebsd"*)	OS="${osname}${osmajver}";;
+		dragonfly*)	OS=freebsd2 ;;
+		"freebsd"*)	OS="freebsd2";;
 	  	# OpenBSD looks like freebsd2 right now
 		"openbsd"*)	OS="freebsd2";;
 		"dgux"*)	OS=dgux;;
