LATEST_LINK unique or not?

Dan Langille dan at
Tue Aug 24 04:17:59 PDT 2004

On 23 Aug 2004 at 22:52, Kris Kennaway wrote:

> On Mon, Aug 23, 2004 at 07:00:32PM -0400, Dan Langille wrote:
> > On 24 Aug 2004 at 0:37, Oliver Eikemeier wrote:
> > 
> > > Dan Langille wrote:
> > > 
> > > > Is LATEST_LINK supposed to be unique? It's not. There's about 201
> > > > ports which have duplicate values.
> > > 
> > > It is, expect when NO_LATEST_LINK is set (in which case no latest link 
> > > exists). Did you filtr out these cases? Everything else is bug, Kris did 
> > > some survey AFAIK.
> > 
> > I obtained my list from the output of "make -V LATEST_LINK" and paid 
> > no attention to NO_LATEST_LINK.
> > 
> > Are you saying LATEST_LINK must be ignored if NO_LATEST_LINK is set?  
> > Why is this not done programatically?  i.e. output an empty string.
> The only reason is because LATEST_LINK was originally used only within
> in situations where NO_LATEST_LINK is tested.  Perhaps
> you're using it for something else now that might justify changing the
> behaviour.

I added the LATEST_LINK value to FreshPorts because I was told it was 
the name of the package.  This information is now used to provide 
this information: To add the package: pkg_add -r bacula

LATEST_LINK may also be used by other websites that wish to link to 
FreshPorts but have only the package name. This differs from the 
conventional category/port path used by FreshPorts.  For example, will redirect you to

It would be good if LATEST_LINK was empty if it was not meant to be 
used.  However, I don't want to break existing usage if we do that.

A quick check of the first two pairs of duplicates listed at

[dan at polo:/usr/ports/x11-wm/afterstep] $ make -V LATEST_LINK -V 
[dan at polo:/usr/ports/x11-wm/afterstep] $ cd ../afterstep-stable/
[dan at polo:/usr/ports/x11-wm/afterstep-stable] $ make -V LATEST_LINK -

[dan at polo:/usr/ports/x11-wm/afterstep-stable] $

[dan at polo:/usr/ports/shells/bash1] $ make -V LATEST_LINK -V 
[dan at polo:/usr/ports/shells/bash1] $ cd ../bash2
[dan at polo:/usr/ports/shells/bash2] $ make -V LATEST_LINK -V 

[dan at polo:/usr/ports/shells/bash2] $
Dan Langille :

More information about the freebsd-ports mailing list