[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ports-bugs
Subject:    [Bug 227600] porter's handbook: use of distinfo
From:       bugzilla-noreply () freebsd ! org
Date:       2018-06-29 23:38:31
Message-ID: bug-227600-7788-aKTWExsZ0j () https ! bugs ! freebsd ! org/bugzilla/
[Download RAW message or body]

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

--- Comment #7 from freebsd@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.
_______________________________________________
freebsd-ports-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic