From ade@FreeBSD.org  Mon May 31 02:24:59 2010
Return-Path: <ade@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 69816106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 May 2010 02:24:59 +0000 (UTC)
	(envelope-from ade@FreeBSD.org)
Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 3D0358FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 May 2010 02:24:59 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4V2OwcQ022166
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 31 May 2010 02:24:58 GMT
	(envelope-from ade@freefall.freebsd.org)
Received: (from ade@localhost)
	by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4V2OwPi022165;
	Mon, 31 May 2010 02:24:58 GMT
	(envelope-from ade)
Message-Id: <201005310224.o4V2OwPi022165@freefall.freebsd.org>
Date: Mon, 31 May 2010 02:24:58 GMT
From: Ade Lovett <ade@FreeBSD.org>
Reply-To: Ade Lovett <ade@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Expand USE_GETTEXT to remove need for hardcoded dependencies
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         147240
>Category:       ports
>Synopsis:       Expand USE_GETTEXT to remove need for hardcoded dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ade
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 31 02:30:01 UTC 2010
>Closed-Date:    Wed Aug 04 17:03:49 UTC 2010
>Last-Modified:  Wed Aug 04 17:03:49 UTC 2010
>Originator:     Ade Lovett
>Release:        Not relevant
>Organization:
>Environment:
>Description:
	Whilst the majority of devel/gettext-using ports play with
	USE_GETTEXT, there are a considerable number of other ports in
	the tree that make use of gettext as a build-time-only dependency.

	This patch adds two extra value to USE_GETTEXT:

	build	added to BUILD_DEPENDS
	run	added to RUN_DEPENDS (for completeness sake)

	Similar to the way in which USE_BISON is implemented.

	By migrating _all_ ports that depend on devel/gettext to using
	USE_GETTEXT (and tweaking of portlint et al to make a direct
	Makefile dependency on devel/gettext a hard error), this will
	_substantially_ make life easier in future gettext updates.

>How-To-Repeat:
>Fix:

	http://people.FreeBSD.org/~ade/use_gettext.diff

	(this just adds the logic to bsd.port.mk -- it'll then be necessary
	to go through and tweak ports in the tree, no PORTREVISION bumps
	necessary, since it'll be a no-op)
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->portmgr 
Responsible-Changed-By: ade 
Responsible-Changed-When: Mon May 31 02:33:16 UTC 2010 
Responsible-Changed-Why:  
bsd.port.mk is portmgr@ territory 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147240 
State-Changed-From-To: open->closed 
State-Changed-By: ade 
State-Changed-When: Wed Aug 4 17:02:58 UTC 2010 
State-Changed-Why:  
Folding this functionality into a larger upcoming autotools update. 
No sense doing two -exp runs when one set will do. 


Responsible-Changed-From-To: portmgr->ade 
Responsible-Changed-By: ade 
Responsible-Changed-When: Wed Aug 4 17:02:58 UTC 2010 
Responsible-Changed-Why:  
Folding this functionality into a larger upcoming autotools update. 
No sense doing two -exp runs when one set will do. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147240 
>Unformatted:
 
