ports/147240: Expand USE_GETTEXT to remove need for hardcoded dependencies
Ade Lovett
ade at FreeBSD.org
Mon May 31 02:30:02 UTC 2010
>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:
More information about the freebsd-ports-bugs
mailing list