1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/www/analog/files/patch-ab
1999-12-23 08:33:25 +00:00

22 lines
1.0 KiB
Plaintext

--- tree.c.orig Fri Dec 17 13:15:19 1999
+++ 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";
- else if (strstr(whole, "BSD") != NULL)
- *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: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 ||