Date: Tue, 14 Sep 2021 12:27:04 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Emmanuel Vadot <manu@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 72629b6891c8 - main - ports-mgmt/pkg-devel: Fix packaging from poudriere Message-ID: <YUCVGFqU37heG8SF@FreeBSD.org> In-Reply-To: <202109141152.18EBqJDu036479@gitrepo.freebsd.org> References: <202109141152.18EBqJDu036479@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 14, 2021 at 11:52:19AM +0000, Emmanuel Vadot wrote: > commit 72629b6891c832e57808a0bdb686c2433951c546 > > ports-mgmt/pkg-devel: Fix packaging from poudriere > > If there is no pkg(8) installed in the jail/host pkg-static will be used > but we don't have pkg-static with SAN so add a link in the WRKSRC. > Also poudriere just extract pkg-static from the pkg archive so cp > instead of symlink > --- > +.if ${PORT_OPTIONS:MSAN} > +post-build: > + @(cd ${WRKSRC}/src && \ > + ${LN} -fs pkg pkg-static) > +.endif Why `cd' when `${LN} -fs pkg ${WRKSRC}/src/pkg-static' would suffice? ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YUCVGFqU37heG8SF>