From owner-svn-ports-all@FreeBSD.ORG Tue Apr 23 08:01:28 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EDC11385 for ; Tue, 23 Apr 2013 08:01:28 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-vb0-x233.google.com (mail-vb0-x233.google.com [IPv6:2607:f8b0:400c:c02::233]) by mx1.freebsd.org (Postfix) with ESMTP id AFFA11E7D for ; Tue, 23 Apr 2013 08:01:28 +0000 (UTC) Received: by mail-vb0-f51.google.com with SMTP id x19so311333vbf.10 for ; Tue, 23 Apr 2013 01:01:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=vAsvyIHr82TMY7dERl3GDR1eUmnNCDtvzJsTPHufwow=; b=o01EALEx9cxf0g54epoEGx93an5yf+2VWuKjWtVGvmQaLH+gkHwZsjtA8p4pF8YTZR WSwGQN6zcvpaZ4iyL1e4LdJEZyEiPYwFmWDRFc/xBtrIat76r4WEaJbn879wWUUTtYEB PvAYKfqTHStSFW/Aol4Vuy509mSJwi40RvaQ8YCEodA+W+/pdUXfhEbiEX6QeDHSd1mq qpj+ro5SMHSgwinv2bTbsHVobr8D9VpPAFSFM/Rx9FpO43x+cKHiIXzqAWs3D5VsC4gO 2//e7DfzbcnAT9isCKbBEhlRNTL9MylYziDGY7zmqbwBk2tMufKpSl1zbsjlz/B4kkV9 3nMQ== MIME-Version: 1.0 X-Received: by 10.58.203.166 with SMTP id kr6mr4413360vec.53.1366704088026; Tue, 23 Apr 2013 01:01:28 -0700 (PDT) Sender: bsd-src@helfman.org Received: by 10.58.146.39 with HTTP; Tue, 23 Apr 2013 01:01:27 -0700 (PDT) In-Reply-To: <201304230727.r3N7RIk9004228@svn.freebsd.org> References: <201304230727.r3N7RIk9004228@svn.freebsd.org> Date: Tue, 23 Apr 2013 01:01:27 -0700 X-Google-Sender-Auth: r2rlShyEbQi0itNmn_zgtobN1XY Message-ID: Subject: Re: svn commit: r316316 - in head: . Mk/Uses From: Jason Helfman To: "ports-committers@freebsd.org" X-Gm-Message-State: ALoCoQmVI6aota92Wr7sZOdwCHJ6Q/KeCtg+E6fLMwkKLnjEBEYGzNwNQ9U2m0ThuqbTrk+A83Gi Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Apr 2013 08:01:29 -0000 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 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