Subject: pkg/23692: mk/
To: None <>
From: None <>
List: netbsd-bugs
Date: 12/08/2003 06:29:22
>Number:         23692
>Category:       pkg
>Synopsis: does not know about the lang/gcc3-* pkgs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 08 13:30:00 UTC 2003
>Originator:     John R. Shannon
>Release:        NetBSD 1.6ZG
System: NetBSD 1.6ZG NetBSD 1.6ZG (KERNEL) #0: Mon Dec 8 02:18:23 MST 2003 i386
Architecture: i386
Machine: i386
	There are two gcc3 compiler systems in pkgsrc: lang/gcc3 and
	lang/gcc3-*. The second is a collection of pkgs, each of which
	builds gcc3 for a single language. knows only
	about the gcc3 pkg.
	I have implemented an extension to mk/ to recognise
	lang/gcc3-*. It recognized several new environment variables:

	# GCC3_C
	#       Always use pkgsrc gcc3 from lang/gcc3-c as a C compiler.
	# GCC3_C++
	#       Always use pkgsrc gcc3 from lang/gcc3-c++ as a C++ compiler.
	#       Always use pkgsrc gcc3 from lang/gcc3-ada as an Ada compiler.
	# GCC3_F77
	#       Always use pkgsrc gcc3 from lang/gcc3-f77 as a Fortran compiler.
	#       Always use pkgsrc gcc3 from lang/gcc3-java.
	#       Always use pkgsrc gcc3 from lang/gcc3-objc.

	To go with this update, I have provided files for each of
	the gcc3-* pkgs.

	In the file, the files have a suffix to indicate the pkg
	they belong to; the suffix should be removed on installation.