Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Feb 2015 21:08:47 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Kurt Jaeger <pi@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r379103 - head/math/libqalculate
Message-ID:  <20150216210847.1c823a4f@kalimero.tijl.coosemans.org>
In-Reply-To: <201502161916.t1GJGbZL092141@svn.freebsd.org>
References:  <201502161916.t1GJGbZL092141@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 16 Feb 2015 19:16:37 +0000 (UTC) Kurt Jaeger <pi@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150216210847.1c823a4f>