Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2014 18:00:48 +0100
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Alexey Dokuchaev <danfe@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org
Subject:   Re: svn commit: r373636 - in head: . Mk/Uses archivers/gtar audio/clementine-player audio/gbemol audio/gkrellmms2 audio/gkrellmss2 audio/gkrellmvolume2 audio/kstreamripper audio/pavucontrol audio/pms a...
Message-ID:  <20141130180048.35a04df5@kalimero.tijl.coosemans.org>
In-Reply-To: <20141130154810.GA44358@FreeBSD.org>
References:  <201411291822.sATIMXqv034069@svn.freebsd.org> <20141130154810.GA44358@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Nov 2014 15:48:10 +0000 Alexey Dokuchaev <danfe@FreeBSD.org> wrote:
> On Sat, Nov 29, 2014 at 06:22:33PM +0000, Tijl Coosemans wrote:
>> New Revision: 373636
>> URL: https://svnweb.freebsd.org/changeset/ports/373636
>> QAT: https://qat.redports.org/buildarchive/r373636/
>> 
>> Log:
>>   Split devel/gettext in devel/gettext-runtime and devel/gettext-tools.  The
>>   first contains runtime libraries such as libintl and the latter contains
>>   developer tools such as msgfmt.  Ports that use gettext will usually need
>>   a LIB_DEPENDS on gettext-runtime and a BUILD_DEPENDS on gettext-tools.
>>   
>>   USES=gettext-runtime can be used to set a LIB/BUILD/RUN_DEPENDS on
>>   devel/gettext-runtime and USES=gettext-tools can be used to set a
>>   BUILD/RUN_DEPENDS on devel/gettext-tools.  USES=gettext is now the same
>>   as "USES=gettext-runtime gettext-tools" meaning a LIB_DEPENDS on
>>   devel/gettext-runtime and a BUILD_DEPENDS on devel/gettext-tools.
> 
> Wouldn't it be better if instead of two new Uses/gettext-* files, existing
> Uses/gettext.mk accepted arguments (like, USES=gettext:build and :run)?
> 
> Similar to what other Uses/* files are already doing.

USES=gettext-runtime has three arguments (lib, build and run) and
USES=gettext-tools has two (build and run).  Combining these in one
USES=gettext means you need five arguments: runtime-lib, runtime-build,
runtime-run, tools-build and tools-run.  The default would be
"runtime-lib,tools-build".  The two separate USES are easier to implement
and easier to understand in my opinion.



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