Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2018 23:38:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 227600] porter's handbook: use of distinfo
Message-ID:  <bug-227600-7788-aKTWExsZ0j@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227600-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227600-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227600

--- 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 t=
he
explanation, particularly given there are different tools in use by differe=
nt
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 u=
sing
the "makesum" target rather than the "fetch" target when trying to fetch wh=
en
the port skeleton (e.g. makefile and distinfo) is inconsistent.

Perhaps 4.1 #1 could additionally say something like=20

Note: If executing port build stages individually, the fetch target will fa=
il
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 dist=
file
first, then replace distinfo with the appropriate checksum regardless of wh=
at
was in distinfo before.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227600-7788-aKTWExsZ0j>