git: aa0b87044a - main - show all flavors of a port

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=aa0b87044a860875635079fd9630162d28717a21

commit aa0b87044a860875635079fd9630162d28717a21
Author:     Wolfram Schneider <[email protected]>
AuthorDate: 2023-09-16 11:06:22 +0000
Commit:     Wolfram Schneider <[email protected]>
CommitDate: 2023-09-16 11:06:22 +0000

    show all flavors of a port
    
    not just the last one. e.g. the vim port has 6 flavors
    
    Reported by: Steven Nikkel <[email protected]>
---
 website/content/en/cgi/ports.cgi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/content/en/cgi/ports.cgi b/website/content/en/cgi/ports.cgi
index 2de20f73e5..9883b1fb91 100755
--- a/website/content/en/cgi/ports.cgi
+++ b/website/content/en/cgi/ports.cgi
@@ -241,7 +241,7 @@ sub readindex {
         chop;
 
         @tmp            = split(/\|/);
-        $var{"$tmp[1]"} = $_;
+        $var{"$tmp[0]"} = $_;
         @s              = split( /\s+/, $tmp[6] );
         foreach (@s) {
             $msec{"$tmp[1],$_"} = 1;
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.