From owner-freebsd-ports-bugs@FreeBSD.ORG Mon May 31 02:30:02 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DAB01065677 for ; Mon, 31 May 2010 02:30:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3DE558FC18 for ; Mon, 31 May 2010 02:30:02 +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 o4V2U2A3022250 for ; Mon, 31 May 2010 02:30:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4V2U2Ti022248; Mon, 31 May 2010 02:30:02 GMT (envelope-from gnats) Resent-Date: Mon, 31 May 2010 02:30:02 GMT Resent-Message-Id: <201005310230.o4V2U2Ti022248@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ade Lovett Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69816106566C for ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/147240: Expand USE_GETTEXT to remove need for hardcoded dependencies X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ade Lovett List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 02:30:02 -0000 >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: