Bug 147240

Summary: Expand USE_GETTEXT to remove need for hardcoded dependencies
Product: Ports & Packages Reporter: Ade Lovett <ade>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ade Lovett freebsd_committer freebsd_triage 2010-05-31 03:30:01 UTC
	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.

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)
Comment 1 Ade Lovett freebsd_committer freebsd_triage 2010-05-31 03:33:16 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

bsd.port.mk is portmgr@ territory
Comment 2 Ade Lovett freebsd_committer freebsd_triage 2010-08-04 18:02:58 UTC
State Changed
From-To: open->closed

Folding this functionality into a larger upcoming autotools update. 
No sense doing two -exp runs when one set will do. 


Comment 3 Ade Lovett freebsd_committer freebsd_triage 2010-08-04 18:02:58 UTC
Responsible Changed
From-To: portmgr->ade

Folding this functionality into a larger upcoming autotools update. 
No sense doing two -exp runs when one set will do.