Monday, April 27, 2020

Re: explanation of FETCH_PACKAGES in ports(7)

On Sun, Apr 26, 2020 at 06:00:55PM +0100, Stuart Henderson wrote:
> On 2020/04/26 18:28, f.holop wrote:
> > Stuart Henderson - Sun, 26 April 2020 at 17:11:21
> > > > thank you for the explanations. i am afraid none of this comes across
> > > > really from the man page as it is formulated now. but i am not a native
> > > > speaker, true.
> > >
> > > it doesn't come across at all. diffs welcome ;)
> >
> > do you really want diffs from someone who just asked others to explain
> > it to him?...:]
>
> better than diffs from someone who already knows how it works!
>
>

Let's try anyway.

Index: ports.7
===================================================================
RCS file: /cvs/src/share/man/man7/ports.7,v
retrieving revision 1.127
diff -u -p -r1.127 ports.7
--- ports.7 16 Jun 2019 14:24:42 -0000 1.127
+++ ports.7 27 Apr 2020 08:19:41 -0000
@@ -620,10 +620,24 @@ try to use as options to
.Xr pkg_add 1
to install the missing packages from
.Ev PKG_PATH .
-For instance:
+.Xr bsd.port.mk 5
+does not set
+.Ev FETCH_PACKAGES ,
+so even an empty value amounts to setting the variable.
+.Pp
+For instance, to run
+.Nm pkg_add
+with default options
+.Pc :
.Bd -literal -offset indent
-make FETCH_PACKAGES=
+make FETCH_PACKAGES=
.Ed
+.Pp
+or, to enforce the snapshots directory during the final beta period:
+.Bd -literal -offset indent
+make FETCH_PACKAGES=-Dsnap
+.Ed
+.Pp
.It Ev PATCH_DEBUG
If defined, display verbose output when applying each patch.
.It Ev INTERACTIVE

No comments:

Post a Comment