diff options
author | drochner <drochner> | 2004-07-05 10:54:16 +0000 |
---|---|---|
committer | drochner <drochner> | 2004-07-05 10:54:16 +0000 |
commit | 664acc312a50a34a9593304ee6660b81f336d5c0 (patch) | |
tree | 316f81cd14fd8f433ee3af604524bbc1c1a3c088 /math/yacas/patches | |
parent | fdb1a60d1ff348d196b169f4f357b057d4a435df (diff) | |
download | pkgsrc-664acc312a50a34a9593304ee6660b81f336d5c0.tar.gz |
recognize "netbsd" as OS version
Diffstat (limited to 'math/yacas/patches')
-rw-r--r-- | math/yacas/patches/patch-aa | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/math/yacas/patches/patch-aa b/math/yacas/patches/patch-aa new file mode 100644 index 00000000000..a91cbe50f60 --- /dev/null +++ b/math/yacas/patches/patch-aa @@ -0,0 +1,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 := |