https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209220

Andreas Perstinger <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #12 from Andreas Perstinger <[email protected]> ---
Created attachment 175460
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=175460&action=edit
Fix the long description link for ports without their own pkg-descr file

This bug is not related to bug#206709 because portindex only creates the html
pages for the categories listings (reachable from the left sidebar). E.g. if
you go to the listing for all math ports
(https://www.freebsd.org/ports/math.html) and then scroll down to the
fftw3-quad port, the link for the long description works (linking to the
description for the "master" port fftw3).

But if you use the search box you get to another page
(https://www.freebsd.org/cgi/ports.cgi?query=fftw3-quad&stype=all) where the
link is broken. The search results are created by /cgi/ports.cgi
(https://svnweb.freebsd.org/doc/head/en_US.ISO8859-1/htdocs/cgi/ports.cgi?view=markup).
On lines 311-314 the value from the INDEX file is correctly read into $descfile
but on line 344 $l (which is based on the port's path in the ports tree) is
used for creating the link.

In my attached patch I've also renamed a variable name ($remotePrefixCVS ->
$remotePrefixRepo) and updated the associated comment. :-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "[email protected]"

Reply via email to