Port building cookie files changed?

Shaun Amott shaun at FreeBSD.org
Tue Jul 11 00:39:24 UTC 2006


On Tue, Jul 11, 2006 at 09:30:13AM +1000, Edwin Groothuis wrote:
> 
> In an old ports framework, the cookie files were like this:
>     .patch_done.ipv6calc-0.51._usr_local
> 
> In the current framework, the cookie files are like this:
>     .patch_done.ipv6calc._usr_local
> 
> This gives false, or bad, or broken, cookies, because when I rebuild
> the same port with a different version number, it thinks it already
> has done the patching (and extracting, and building etc).
> 
> So... who sneaked this in bsd.port.mk and why?
> 

According to the CVS log:

* Use a consistent name for the cookies file when PKGNAMEPREFIX/SUFFIX
  are set after bsd.port.pre.mk.

The patch / an explanation is in ports/94219.

-- 
Shaun Amott [ PGP: 0x6B387A9A ]
    Scientia Est Potentia.


More information about the freebsd-ports mailing list