git: 72629b6891c8 - main - ports-mgmt/pkg-devel: Fix packaging from poudriere

Alexey Dokuchaev danfe at freebsd.org
Tue Sep 14 12:27:04 UTC 2021


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


More information about the dev-commits-ports-main mailing list