From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Jul 19 19:00:25 2011 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 DE1C61065677 for ; Tue, 19 Jul 2011 19:00:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CE78F8FC0C for ; Tue, 19 Jul 2011 19:00:21 +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 p6JJ0L9r043009 for ; Tue, 19 Jul 2011 19:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p6JJ0LXH043008; Tue, 19 Jul 2011 19:00:21 GMT (envelope-from gnats) Resent-Date: Tue, 19 Jul 2011 19:00:21 GMT Resent-Message-Id: <201107191900.p6JJ0LXH043008@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, Kalten Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57B9010657B8 for ; Tue, 19 Jul 2011 18:55:16 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 47B828FC19 for ; Tue, 19 Jul 2011 18:55:16 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p6JItFYa029345 for ; Tue, 19 Jul 2011 18:55:15 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p6JItF2s029310; Tue, 19 Jul 2011 18:55:15 GMT (envelope-from nobody) Message-Id: <201107191855.p6JItF2s029310@red.freebsd.org> Date: Tue, 19 Jul 2011 18:55:15 GMT From: Kalten To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/159036: Mk/bsd.gcc.mk: missing 4.7 for USE_GCC X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2011 19:00:25 -0000 >Number: 159036 >Category: ports >Synopsis: Mk/bsd.gcc.mk: missing 4.7 for USE_GCC >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 19 19:00:21 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Kalten >Release: 8.2-RELEASE >Organization: >Environment: FreeBSD freeHugin.Walhalla.Leben 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Some ports (e.g. graphics/enblend) have a line like USE_GCC=4.4+ in the Makefile, but do not recognise, that lang/gcc47 is allready installed and want to install lang/gcc44 than. >How-To-Repeat: Have lang/gcc47 but not lang/gcc44, lang/gcc45 or lang/gcc46 installed, and go to graphics/enblend. Type make. >Fix: I think, you simply have to update the line ``GCCVERSIONS= 030402 040200 040400 040500 040600'' to ``GCCVERSIONS= 030402 040200 040400 040500 040600 040700'' and add a line ``GCCVERSION_040700= 999999 999999 4.7'' to the others (see patch-file). But I am not sure. Patch attached with submission follows: --- Mk/bsd.gcc.mk.orig 2011-07-18 14:55:04.000000000 +0200 +++ Mk/bsd.gcc.mk 2011-07-19 20:53:12.000000000 +0200 @@ -37,7 +37,7 @@ # All GCC versions supported by the ports framework. Keep them in # ascending order and in sync with the table below. -GCCVERSIONS= 030402 040200 040400 040500 040600 +GCCVERSIONS= 030402 040200 040400 040500 040600 040700 # The first field if the OSVERSION in which it appeared in the base. # The second field is the OSVERSION in which it disappeared from the base. @@ -47,6 +47,7 @@ GCCVERSION_040400= 999999 999999 4.4 GCCVERSION_040500= 999999 999999 4.5 GCCVERSION_040600= 999999 999999 4.6 +GCCVERSION_040700= 999999 999999 4.7 # # No configurable parts below this. >Release-Note: >Audit-Trail: >Unformatted: