ports/77457: bsd.gcc.mk patch. Fix lang/gcc* ports build.

Sergey Matveychuk sem at stable-5.sem-home.ciam.ru
Sun Feb 13 17:10:21 UTC 2005


>Number:         77457
>Category:       ports
>Synopsis:       bsd.gcc.mk patch. Fix lang/gcc* ports build.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 13 17:10:20 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Matveychuk
>Release:        FreeBSD 5.3-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD stable-5.sem-home.ciam.ru 5.3-RELEASE-p4 FreeBSD 5.3-RELEASE-p4 #13: Fri Jan 14 04:39:21 MSK 2005 root at stable-5.sem-home.ciam.ru:/usr/obj/usr/src/sys/CURRENT i386


	
>Description:
	
	build of lang/gcc* ports fails with the message:

	===>  gcc-N.N.N is marked as broken: Unknown version of GCC specified (USE_GCC=X).

	The patch will fix it.

>How-To-Repeat:
	
>Fix:

	

--- bsd.gcc.mk.patch begins here ---
Index: bsd.gcc.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.gcc.mk,v
retrieving revision 1.1
diff -u -r1.1 bsd.gcc.mk
--- bsd.gcc.mk	7 Feb 2005 11:17:50 -0000	1.1
+++ bsd.gcc.mk	13 Feb 2005 17:03:26 -0000
@@ -75,7 +75,11 @@
 . endfor
 .endfor
 
-.if !defined(_GCCVERSION_OKAY)
+#
+# Check for wrong USE_GCC valuses. Ignore "X" bacause of
+# lang/gcc* ports use it to prevent loops.
+#
+.if !defined(_GCCVERSION_OKAY) && ${USE_GCC} != "X"
 BROKEN=	"Unknown version of GCC specified (USE_GCC=${USE_GCC})"
 .endif
 
--- bsd.gcc.mk.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list