[Bug 227600] porter's handbook: use of distinfo

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jul 3 04:52:26 UTC 2018


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

Chris Hutchinson <portmaster at bsdforge.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |portmaster at bsdforge.com

--- Comment #8 from Chris Hutchinson <portmaster at bsdforge.com> ---
(In reply to freebsd from comment #7)
> (In reply to Kurt Jaeger from comment #6)
> I don't think it's appropriate to rely on a particular ports-mgmt tool in
> the explanation, particularly given there are different tools in use by
> different people.
> 
> In any case, the problem is not so much creating a new port from scratch but
> tweaking an existing port.  As explained in comments 3 & 4, one should be
> using the "makesum" target rather than the "fetch" target when trying to
> fetch when the port skeleton (e.g. makefile and distinfo) is inconsistent.
> 
> Perhaps 4.1 #1 could additionally say something like 
> 
> Note: If executing port build stages individually, the fetch target will
> fail if distinfo exists and does not match the distfile to be fetched.  In
> this case, the makesum target should be run instead.  It will fetch the new
> distfile first, then replace distinfo with the appropriate checksum
> regardless of what was in distinfo before.

+1 :-)

--Chris

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list