Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2010 02:24:58 GMT
From:      Ade Lovett <ade@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/147240: Expand USE_GETTEXT to remove need for hardcoded dependencies
Message-ID:  <201005310224.o4V2OwPi022165@freefall.freebsd.org>
Resent-Message-ID: <201005310230.o4V2U2Ti022248@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         147240
>Category:       ports
>Synopsis:       Expand USE_GETTEXT to remove need for hardcoded dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 31 02:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:
 



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