svn commit: r520687 - head/www/netrik

Mathieu Arnold mat at FreeBSD.org
Mon Dec 23 08:43:39 UTC 2019


On Mon, Dec 23, 2019 at 08:38:21AM +0000, Baptiste Daroussin wrote:
> Author: bapt
> Date: Mon Dec 23 08:38:20 2019
> New Revision: 520687
> URL: https://svnweb.freebsd.org/changeset/ports/520687
> 
> Log:
>   The configure scripts to hardcode the lookup of ncurses by searching
>   ncursesw.
>   
>   Replace it by NCURSES_IMPL to be futur proof
> 
> Modified:
>   head/www/netrik/Makefile
> 
> Modified: head/www/netrik/Makefile
> ==============================================================================
> --- head/www/netrik/Makefile	Mon Dec 23 08:37:13 2019	(r520686)
> +++ head/www/netrik/Makefile	Mon Dec 23 08:38:20 2019	(r520687)
> @@ -22,8 +22,11 @@ PORTDOCS=	*
>  
>  OPTIONS_DEFINE=	DOCS
>  
> +.include <bsd.port.options.mk>
> +

Why the include?

>  post-patch:
>  	@${REINPLACE_CMD} "s|^CFLAGS =|CFLAGS?=|" ${WRKSRC}/Makefile.in
> +	@${REINPLACE_CMD} "s|ncursesw|${NCURSES_IMPL}|g" ${WRKSRC}/configure
>  	@${REINPLACE_CMD} "s/#include <ncursesw\//#include </" \
>  		${WRKSRC}/*.c
>  
> 

-- 
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/svn-ports-all/attachments/20191223/9e95c5a6/attachment.sig>


More information about the svn-ports-all mailing list