git: 01edf8a62f - main - ports.cgi: do not display links to other categories

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by wosch:

URL: https://cgit.FreeBSD.org/doc/commit/?id=01edf8a62f418efb51c6824fec83138642f57746

commit 01edf8a62f418efb51c6824fec83138642f57746
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2026-02-09 17:33:18 +0000
Commit:     Wolfram Schneider <[email protected]>
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";
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.