Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2003 19:08:09 +0100 (CET)
From:      Martin Blapp <mbr@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/47306: Support of USE_GCC=3.2 in bsd.port.mk
Message-ID:  <200301211808.h0LI894A048949@mail.imp.ch>

next in thread | raw e-mail | index | archive | help

>Number:         47306
>Category:       ports
>Synopsis:       Support of USE_GCC=3.2 in bsd.port.mk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 21 10:10:07 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Martin Blapp
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
ImproWare AG
>Environment:
System: FreeBSD levais.imp.ch 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Tue Dec 24 10:52:34 CET 2002 root@levais.imp.ch:/usr/obj/usr/src/sys/LEVAIS i386


	
>Description:

Since several months we have now gcc3.2 in our CURRENT tree and the port has been
fixed. We should reflect that in bsd.port.mk as we did previously. OpenOffice
now depends on USE_GCC=3.2 and fails because there is no support yet. (also in
STABLE)

	
>How-To-Repeat:
	
>Fix:

--- ports/Mk/bsd.port.mk.orig   Wed Oct  9 13:43:50 2002
+++ ports/Mk/bsd.port.mk        Wed Oct  9 13:43:52 2002
@@ -922,10 +922,16 @@
 BUILD_DEPENDS+=        gcc295:${PORTSDIR}/lang/gcc295
 MAKE_ENV+=             CC=${CC} CXX=${CXX}
 .endif
-.if defined(USE_GCC) && ${USE_GCC} == 3.1 && ${OSVERSION} < 500035
+.if defined(USE_GCC) && ${USE_GCC} == 3.1 && ( ${OSVERSION} < 500035 ||
${OSVERSION} > 500038 )
 CC=                            gcc31
 CXX=                   g++31
 BUILD_DEPENDS+=        gcc31:${PORTSDIR}/lang/gcc31
+MAKE_ENV+=             CC=${CC} CXX=${CXX}
+.endif
+.if defined(USE_GCC) && ${USE_GCC} == 3.2 && ${OSVERSION} < 500039
+CC=                            gcc32
+CXX=                   g++32
+BUILD_DEPENDS+=        gcc31:${PORTSDIR}/lang/gcc32
 MAKE_ENV+=             CC=${CC} CXX=${CXX}
 .endif
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301211808.h0LI894A048949>