summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1999-12-23 08:33:25 +0000
committerache <ache@FreeBSD.org>1999-12-23 08:33:25 +0000
commitde2e6b3f673a12c855efcfecb8e1bc149221901a (patch)
treedfa8380d1e64b9dc5c5376cccaf63b78e109e48c /www
parentc41bfe9f19fb4fe67e22e54e50efdea36fb76a8a (diff)
downloadFreeBSD-ports-de2e6b3f673a12c855efcfecb8e1bc149221901a.zip
FreeBSD-ports-de2e6b3f673a12c855efcfecb8e1bc149221901a.tar.gz
Oops, add missing OpenBSD/NetBSD detection
Diffstat (limited to 'www')
-rw-r--r--www/analog/files/patch-ab10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/analog/files/patch-ab b/www/analog/files/patch-ab
index 08fc983..db1b2da 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 ||
OpenPOWER on IntegriCloud