$NetBSD: patch-aa,v 1.7 2007/03/20 16:11:56 drochner Exp $ --- ./scripts/osdep.rep/code.ys.orig 2006-03-26 14:49:14.000000000 +0200 +++ ./scripts/osdep.rep/code.ys @@ -8,9 +8,10 @@ PlatformOS() := Eval( If(GreaterThan(Length(OSVersion()),6) And StringMid(1,6,OSVersion()) = "darwin", "Unix", If(GreaterThan(Length(OSVersion()),7) And StringMid(1,7,OSVersion()) = "solaris", "Unix", If(GreaterThan(Length(OSVersion()),7) And StringMid(1,7,OSVersion()) = "freebsd", "Unix", + If(GreaterThan(Length(OSVersion()),6) And StringMid(1,6,OSVersion()) = "netbsd", "Unix", If(OSVersion() = "Win32", "Win32", If(OSVersion() = "cygwin", "Unix", - /* otherwise */ Check(False, "Unsupported platform ":OSVersion())))))))); + /* otherwise */ Check(False, "Unsupported platform ":OSVersion()))))))))); // this lists the available OS-specific modules SupportedOSes :=