Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 8E81F716CF for ; Sun, 7 Jul 2013 09:06:26 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 061BB14A28A; Sun, 7 Jul 2013 09:06:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 31A1F14A28C for ; Sun, 7 Jul 2013 09:06:24 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id pDXeFBNSV5Cp for ; Sun, 7 Jul 2013 09:06:23 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id AB34614A28A for ; Sun, 7 Jul 2013 09:06:23 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id A925996; Sun, 7 Jul 2013 09:06:23 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Sun, 7 Jul 2013 09:06:23 +0000 From: "John Marino" Subject: CVS commit: pkgsrc/mk To: pkgsrc-changes@NetBSD.org Reply-To: marino@netbsd.org X-Mailer: log_accum Message-Id: <20130707090623.A925996@cvs.netbsd.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk Module Name: pkgsrc Committed By: marino Date: Sun Jul 7 09:06:23 UTC 2013 Modified Files: pkgsrc/mk: compiler.mk Log Message: 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} To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 pkgsrc/mk/compiler.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.