git: 01edf8a62f - main - ports.cgi: do not display links to other categories
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Feb 2026 17:35:06 UTC
The branch main has been updated by wosch:
URL: https://cgit.FreeBSD.org/doc/commit/?id=01edf8a62f418efb51c6824fec83138642f57746
commit 01edf8a62f418efb51c6824fec83138642f57746
Author: Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2026-02-09 17:33:18 +0000
Commit: Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2026-02-09 17:33:18 +0000
ports.cgi: do not display links to other categories
A port may be listed in several categories. Just show the categories,
don't create clickable links to https://cgit.freebsd.org/ports/tree/<category>
because the category could be a virtual one and does not exists in our
ports git repo.
---
website/content/en/cgi/ports.cgi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/website/content/en/cgi/ports.cgi b/website/content/en/cgi/ports.cgi
index 90c15c592e..8018f01ea2 100755
--- a/website/content/en/cgi/ports.cgi
+++ b/website/content/en/cgi/ports.cgi
@@ -365,8 +365,7 @@ sub out {
if ( $#s > 0 ) {
print qq{<i>Also listed in:</i> };
foreach (@s) {
- print qq{<a href="$remotePrefixRepo/tree/$_">$_</a> }
- if $_ ne $out_sec;
+ print qq{$_ } if $_ ne $out_sec;
}
print "<br />\n";
}