Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2003 15:34:35 +0200 (CEST)
From:      Ulrich Spoerlein <q@uni.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/55308: Update Mk/bsd.port.mk for GCC 3.3 and 3.4 support
Message-ID:  <200308061334.h76DYZeJ050594@roadrunner.local>
Resent-Message-ID: <200308061340.h76De1D2019689@freefall.freebsd.org>

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

>Number:         55308
>Category:       ports
>Synopsis:       Update Mk/bsd.port.mk for GCC 3.3 and 3.4 support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 06 06:40:00 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Ulrich Spoerlein
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
>Description:
bsd.port.mk knows nothing about USE_GCC=3.3 and USE_GCC=3.4 yet.
Using USE_GCC=3.3 might be useful on 5.1-RELEASE for port maintainers
to test if their port compiles with the new gcc.
>How-To-Repeat:
>Fix:
--- patch begins here ---
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.461
diff -u -r1.461 bsd.port.mk
--- bsd.port.mk	4 Aug 2003 01:17:39 -0000	1.461
+++ bsd.port.mk	6 Aug 2003 13:32:01 -0000
@@ -1347,6 +1347,16 @@
 CXX=			g++32
 BUILD_DEPENDS+=	gcc32:${PORTSDIR}/lang/gcc32
 .endif
+.if defined(USE_GCC) && ${USE_GCC} == 3.3 && ${OSVERSION} < 501103
+CC=				gcc33
+CXX=			g++33
+BUILD_DEPENDS+=	gcc33:${PORTSDIR}/lang/gcc33
+.endif
+.if defined(USE_GCC) && ${USE_GCC} == 3.4 # Not yet available in any OSVERSION
+CC=				gcc34
+CXX=			g++34
+BUILD_DEPENDS+=	gcc34:${PORTSDIR}/lang/gcc34
+.endif
 
 .if defined(USE_GETOPT_LONG)
 .if ${OSVERSION} < 500041
--- patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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