Date: Tue, 23 Apr 2013 01:01:27 -0700 From: Jason Helfman <jgh@FreeBSD.org> To: "ports-committers@freebsd.org" <ports-committers@freebsd.org> Cc: "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org> Subject: Re: svn commit: r316316 - in head: . Mk/Uses Message-ID: <CAMuy=%2BgeuPwUobvxBXS2KPbAqXg_nxtHPPi63697V3nxqj1zVg@mail.gmail.com> In-Reply-To: <201304230727.r3N7RIk9004228@svn.freebsd.org> References: <201304230727.r3N7RIk9004228@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Actually... build to add gettext into BUILD DEPENDS *NOT* build to add gettext into both RUN and BUILD DEPENDS On Tue, Apr 23, 2013 at 12:27 AM, Jason Helfman <jgh@freebsd.org> wrote: > Author: jgh > Date: Tue Apr 23 07:27:18 2013 > New Revision: 316316 > URL: http://svnweb.freebsd.org/changeset/ports/316316 > > Log: > Introduces USES= gettext to replace USE_GETTEXT > > It can take 3 arguments: > build to add gettext into both RUN and BUILD DEPENDS > run to add gettext into RUN_DEPENDS > lib (default,implicit) to add gettext into LIB_DEPENDS > > This deprecates USE_GETTEXT. Please convert your ports. > USE_GETTEXT will be removed as soon as it is no longer used in > the ports tree > > Approved by: portmgr (bapt) > > Added: > head/Mk/Uses/gettext.mk (contents, props changed) > Modified: > head/CHANGES > > Modified: head/CHANGES > > ============================================================================== > --- head/CHANGES Tue Apr 23 07:24:02 2013 (r316315) > +++ head/CHANGES Tue Apr 23 07:27:18 2013 (r316316) > @@ -10,6 +10,19 @@ in the release notes and/or placed into > > All ports committers are allowed to commit to this file. > > +20130423: > +AUTHOR: jgh@FreeBSD.org > + > + * New USES macro to handle support for gettext dependency: > + > + USES= gettext:build will add gettext into BUILD_DEPENDS > + USES= gettext:run will add gettext into RUN_DEPENDS > + USES= gettext:lib will add gettext into LIB_DEPENDS > + > + It deprecates USE_GETTEXT which will be removed as soon as it is not > + used anymore > + > + > 20130422: > AUTHOR: bdrewery@FreeBSD.org > > > Added: head/Mk/Uses/gettext.mk > > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/Mk/Uses/gettext.mk Tue Apr 23 07:27:18 2013 (r316316) > @@ -0,0 +1,31 @@ > +# $FreeBSD$ > +# > +# handle dependency on the gettext (libintl) port > +# > +# MAINTAINER: portmgr@FreeBSD.org > +# > +# Feature: gettext > +# Usage: USES=gettext or USES=gettext:ARGS > +# Valid ARGS: build, run, lib (default, implicit) > +# > +# > +.if !defined(_INCLUDE_USES_GETTEXT_MK) > +_INCLUDE_USES_GETTEXT_MK= yes > + > +_GETTEXT_DEPENDS= xgettext:${PORTSDIR}/devel/gettext > + > +.if !defined(gettext_ARGS) > +gettext_ARGS= lib > +.endif > + > +.if ${gettext_ARGS} == "build" > +BUILD_DEPENDS+= ${_GETTEXT_DEPENDS} > +.elif ${gettext_ARGS} == "run" > +RUN_DEPENDS+= ${_GETTEXT_DEPENDS} > +.elif ${gettext_ARGS} == "lib" > +LIB_DEPENDS+= intl:${PORTSDIR}/devel/gettext > +.else > +IGNORE= USES=gettext - invalid args: [${gettext_ARGS}] specifed > +.endif > + > +.endif > > -- -- Jason Helfman | FreeBSD Committer jgh@FreeBSD.org | http://people.freebsd.org/~jgh | The Power to Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMuy=%2BgeuPwUobvxBXS2KPbAqXg_nxtHPPi63697V3nxqj1zVg>