ports/159036: Mk/bsd.gcc.mk: missing 4.7 for USE_GCC

Kalten kalten at gmx.at
Tue Jul 19 19:00:25 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list