Up to [cvs.NetBSD.org] / pkgsrc / lang / gcc49
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
remove gcc48/gcc49. use of these packages was disabled in the pkgsrc infrastructure in january because they were causing problems on platforms with older compilers that can build gcc6 just fine: glibc + FORTIFY + gcc48,gcc49,gcc5 = build failures. gcc48 and newer require a c++98 compiler, same as all gcc versions up to 11, so are not useful for bootstrapping. gcc5 has additional Ada bits, someone needs to determine if they're useful before it can go.
Fix indentation in buildlink3.mk files. The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was reviewed manually. There are some .include lines that still are indented with zero spaces although the surrounding .if is indented. This is existing practice.
Remove mk/find-prefix.mk usage from the lang category. The find-prefix infrastructure was required in a pkgviews world where packages installed from pkgsrc could have different installation prefixes, and this was a way for a dependency prefix to be determined. Now that pkgviews has been removed there is no longer any need for the overhead of this infrastructure. Instead we use BUILDLINK_PREFIX.pkg for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the dependency is coming from pkgsrc. Provides a reasonable performance win due to the reduction of `pkg_info -qp` calls, some of which were redundant anyway as they were duplicating the same information provided by BUILDLINK_PREFIX.pkg.
Replace all references to _GCC_REQD with the appropriate logical value for each GCC version. Using the variable causes impossible version constraints when a specific GCC is depended upon but the user is using something newer, as _GCC_REQD will be set to the higher value.
Initial import of gcc49-4.9.1 as lang/gcc49. Changes, New Features, and Fixes in GCC 4.9 can be found here: https://gcc.gnu.org/gcc-4.9/changes.html This is based heavily on lang/gcc47 but updated for GCC 4.9.1. Tested on SmartOS (32-bit and 64-bit) and NetBSD 6.1.4/amd64.