ports/55308: Update Mk/bsd.port.mk for GCC 3.3 and 3.4 support

Ulrich Spoerlein q at uni.de
Wed Aug 6 13:40:04 UTC 2003


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



More information about the freebsd-ports-bugs mailing list