Date: Mon, 15 Mar 2004 14:48:12 -0800 (PST) From: Trevor Johnson <trevor@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/64316: fix for USE_GCC=3.2 Message-ID: <200403152248.i2FMmCK7090025@freefall.freebsd.org> Resent-Message-ID: <200403152250.i2FMoHhW090082@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 64316 >Category: ports >Synopsis: fix for USE_GCC=3.2 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 15 14:50:17 PST 2004 >Closed-Date: >Last-Modified: >Originator: Trevor Johnson >Release: FreeBSD 5.2-STABLE i386 >Organization: >Environment: bsd.port.mk 1.484 >Description: For recent -CURRENT including FreeBSD 5.2 and later, USE_GCC=3.2 has no effect. It should cause the installation and use of the GCC 3.2 from the ports collection, because the GCC in the base system is a more recent version (e.g. 3.3.3). >How-To-Repeat: >Fix: also at <URL:http://people.freebsd.org/~trevor/ports/use-gcc-3.2.diff> Index: /usr/ports/Mk/bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.484 diff -u -r1.484 bsd.port.mk --- /usr/ports/Mk/bsd.port.mk 4 Feb 2004 04:27:04 -0000 1.484 +++ /usr/ports/Mk/bsd.port.mk 15 Mar 2004 22:39:15 -0000 @@ -1608,7 +1608,7 @@ MAKE_ENV+= CC=${CC} CXX=${CXX} GCCVERSION= 030100 .endif -.if defined(USE_GCC) && ${USE_GCC} == 3.2 && ${OSVERSION} < 500039 +.if defined(USE_GCC) && ${USE_GCC} == 3.2 && ( ${OSVERSION} < 500039 || ${OSVERSION} > 501103 ) CC= gcc32 CXX= g++32 F77= g77-32 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403152248.i2FMmCK7090025>