diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1999-12-23 08:33:25 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1999-12-23 08:33:25 +0000 |
commit | d25d988b67a8a79f92251d5e8365eafaab6c3e7a (patch) | |
tree | 4c239ed1e665e2ff9bde98cdfaaf9087579a8b8c /www/analog | |
parent | Remove myself from MAINTAINER (diff) |
Oops, add missing OpenBSD/NetBSD detection
Notes
Notes:
svn path=/head/; revision=23869
Diffstat (limited to '')
-rw-r--r-- | www/analog/files/patch-ab | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/www/analog/files/patch-ab b/www/analog/files/patch-ab index 08fc983e6e5b..db1b2da82ba2 100644 --- a/www/analog/files/patch-ab +++ b/www/analog/files/patch-ab @@ -1,6 +1,6 @@ --- tree.c.orig Fri Dec 17 13:15:19 1999 -+++ tree.c Thu Dec 23 08:02:55 1999 -@@ -781,8 +781,12 @@ ++++ tree.c Thu Dec 23 11:19:15 1999 +@@ -781,8 +781,16 @@ } else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL) *name = "Unix:Linux"; @@ -8,10 +8,14 @@ - *name = "Unix:BSD"; + else if (strstr(whole, "FreeBSD") != NULL || strstr(whole, "freebsd") != NULL) + *name = "Unix:FreeBSD"; ++ else if (strstr(whole, "OpenBSD") != NULL || strstr(whole, "openbsd") != NULL) ++ *name = "Unix:OpenBSD"; ++ else if (strstr(whole, "NetBSD") != NULL || strstr(whole, "netbsd") != NULL) ++ *name = "Unix:NetBSD"; + else if (strstr(whole, "BSD/OS") != NULL || strstr(whole, "bsd/os") != NULL) + *name = "Unix:BSD/OS"; + else if (strstr(whole, "BSD") != NULL || strstr(whole, "bsd") != NULL) -+ *name = "Unix:unkbsd"; ++ *name = "Unix:Unknown BSD"; else if (strstr(whole, "SunOS") != NULL || strstr(whole, "sunos") != NULL) *name = "Unix:SunOS"; else if (strstr(whole, "HP-UX") != NULL || strstr(whole, "HPUX") != NULL || |