diff options
author | ache <ache@FreeBSD.org> | 1999-12-09 13:34:45 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1999-12-09 13:34:45 +0800 |
commit | 8d87e73746ca292dcebedae5363d74f992288238 (patch) | |
tree | 286d1f965da32433bc34f2b0b7a81201ab4aa61f /www/analog | |
parent | ae5029a616b793dd1da73425418452ba99c066ec (diff) | |
download | freebsd-ports-gnome-8d87e73746ca292dcebedae5363d74f992288238.tar.gz freebsd-ports-gnome-8d87e73746ca292dcebedae5363d74f992288238.tar.zst freebsd-ports-gnome-8d87e73746ca292dcebedae5363d74f992288238.zip |
Better recognition of *BSD family
Diffstat (limited to 'www/analog')
-rw-r--r-- | www/analog/files/patch-ab | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/www/analog/files/patch-ab b/www/analog/files/patch-ab new file mode 100644 index 000000000000..e9c0ddf92d5b --- /dev/null +++ b/www/analog/files/patch-ab @@ -0,0 +1,21 @@ +--- tree.c.orig Sun Nov 14 17:17:17 1999 ++++ tree.c Thu Dec 9 08:23:39 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, "NetBSD") != NULL || strstr(whole, "netbsd") != NULL) ++ *name = "Unix:NetBSD"; ++ else if (strstr(whole, "OpenBSD") != NULL || strstr(whole, "openbsd") != NULL) ++ *name = "Unix:OpenBSD"; ++ 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"; + else if (strstr(whole, "SunOS") != NULL || strstr(whole, "sunos") != NULL) + *name = "Unix:SunOS"; + else if (strstr(whole, "HP-UX") != NULL || strstr(whole, "HPUX") != NULL || |