[Bug 227600] porter's handbook: use of distinfo
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jun 29 23:38:33 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227600
--- Comment #7 from freebsd at dreamchaser.org ---
(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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list