svn commit: r379103 - head/math/libqalculate

Tijl Coosemans tijl at FreeBSD.org
Mon Feb 16 20:10:01 UTC 2015


On Mon, 16 Feb 2015 19:16:37 +0000 (UTC) Kurt Jaeger <pi at FreeBSD.org> wrote:
> Author: pi
> Date: Mon Feb 16 19:16:36 2015
> New Revision: 379103
> URL: https://svnweb.freebsd.org/changeset/ports/379103
> QAT: https://qat.redports.org/buildarchive/r379103/
> 
> Log:
>   math/libqalculate: fix build in poudriere if NLS is not selected
>   
>   PR:		195908, 195857
>   Submitted by:	Kevin Zheng <kevinz5000 at gmail.com>
>   Approved by:	jhale (maintainer timeout)
> 
> Modified:
>   head/math/libqalculate/Makefile
> 
> Modified: head/math/libqalculate/Makefile
> ==============================================================================
> --- head/math/libqalculate/Makefile	Mon Feb 16 18:52:41 2015	(r379102)
> +++ head/math/libqalculate/Makefile	Mon Feb 16 19:16:36 2015	(r379103)
> @@ -23,10 +23,12 @@ INSTALL_TARGET=	install-strip
>  OPTIONS_DEFINE=	NLS
>  OPTIONS_SUB=	yes
>  
> -NLS_USES=	gettext
> -
>  .include <bsd.port.options.mk>
>  
> +.if !${PORT_OPTIONS:MNLS}
> +USES+=		gettext
> +.endif
> +
>  post-patch:
>  .if !${PORT_OPTIONS:MNLS}
>  	@${REINPLACE_CMD} -e '/^SUBDIRS =/s|po ||g' ${WRKSRC}/Makefile.in

For cases like this you can add USES=gettext-tools and
NLS_USES=gettext-runtime.


More information about the svn-ports-head mailing list