Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (4m)  pkgsrc-2024Q1 (20d)  pkgsrc-2023Q4 (67d)  pkgsrc-2023Q2 (100d)  pkgsrc-2023Q3 (179d) 

2024-06-07 11:52:25 UTC Now

2013-07-07 09:06:23 UTC MAIN commitmail json YAML

compiler.mk: Fix Ada packages when PKGSRC_COMPILER=clang

Only one compiler is used when "ada" is listed in LANGUAGES, and that
is the one built by the lang/gcc-aux source package.  When PKGSRC_COMPILER
is defined as anything else other than "gcc", the Ada packages fail to
build.  This can be seen when clang is used with CLANGBASE=${LOCALBASE}.

This straight-forward fix is to override the user specification of
PKGSRC_COMPILER when Ada is specified and define it as "gcc" in all cases.
Tested on NetBSD 6.1 amd64 with CLANGBASE=${LOCALBASE}

(marino)