summaryrefslogtreecommitdiff
path: root/math/yacas/patches/patch-aa
blob: a91cbe50f6053d9a95d9d102d24710e3136ee80e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.6 2004/07/05 10:54:16 drochner Exp $

--- ./scripts/osdep.rep/code.ys.orig	2003-04-17 23:12:02.000000000 +0200
+++ ./scripts/osdep.rep/code.ys
@@ -8,8 +8,9 @@ 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", 
-   /* otherwise */             Check(False, "Unsupported platform ":OSVersion())))))));
+   /* otherwise */             Check(False, "Unsupported platform ":OSVersion()))))))));
 
 // this lists the available OS-specific modules
 SupportedOSes :=