git: b080275ea6e0 - main - shells/modernish: Disable failing install-time tests

Mathieu Arnold mat at freebsd.org
Mon Apr 26 13:20:26 UTC 2021


On Mon, Apr 26, 2021 at 12:22:34PM +0000, Mateusz Piotrowski wrote:
> The branch main has been updated by 0mp:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=b080275ea6e0c79e0b94974192eb6fe582180614
> 
> commit b080275ea6e0c79e0b94974192eb6fe582180614
> Author:     Mateusz Piotrowski <0mp at FreeBSD.org>
> AuthorDate: 2021-04-26 12:20:59 +0000
> Commit:     Mateusz Piotrowski <0mp at FreeBSD.org>
> CommitDate: 2021-04-26 12:20:59 +0000
> 
>     shells/modernish: Disable failing install-time tests
>     
>     This issue has been reported upstream:
>     https://github.com/modernish/modernish/issues/10
> ---
>  shells/modernish/Makefile | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/shells/modernish/Makefile b/shells/modernish/Makefile
> index 9c9a1e4958b7..096f3e312a7c 100644
> --- a/shells/modernish/Makefile
> +++ b/shells/modernish/Makefile
> @@ -16,10 +16,15 @@ NO_BUILD=	yes
>  
>  OPTIONS_DEFINE=	DOCS EXAMPLES
>  
> +post-extract:
> +	${MV} ${WRKSRC}/lib/modernish/cap/BUG_DEVTTY.t ${WRKDIR}
> +
>  do-install:
>  	cd ${WRKSRC} && \
>  	${SETENV} ${MAKE_ENV} ${SH} -x ./install.sh -d ${PREFIX} -D ${STAGEDIR} -n -s ${SH}
>  
> +	${MV} ${WRKDIR}/BUG_DEVTTY.t ${STAGEDIR}${PREFIX}/lib/modernish/cap/BUG_DEVTTY.t

You should never install a file with MV, you always use one of the
INSTALL_* macros.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/dev-commits-ports-all/attachments/20210426/e4ace554/attachment-0001.sig>


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