Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 01F451A921F for ; Fri, 22 Oct 2021 19:00:08 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 9C83C84F42; Fri, 22 Oct 2021 19:00:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id D6CC784F42 for ; Fri, 22 Oct 2021 19:00:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 0wrpveI2FVss for ; Fri, 22 Oct 2021 19:00:07 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 3312684D79 for ; Fri, 22 Oct 2021 19:00:07 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2BE79FA97; Fri, 22 Oct 2021 19:00:07 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1634929207258760" MIME-Version: 1.0 Date: Fri, 22 Oct 2021 19:00:07 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/mk/tools To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20211022190007.2BE79FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1634929207258760 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Fri Oct 22 19:00:07 UTC 2021 Modified Files: pkgsrc/mk/tools: tools.NetBSD.mk Log Message: mk: Use native bsdtar on NetBSD 9.0 onwards. Relying on native variables like MKBSDTAR only works when using the native make, and should be avoided as they are not set when using a bootstrap. Should fix build of lang/go117 with bootstrapped NetBSD, as bsdtar from pkgsrc is unable to handle the distfile due to locale errors. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 pkgsrc/mk/tools/tools.NetBSD.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1634929207258760 Content-Disposition: inline Content-Length: 786 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/tools/tools.NetBSD.mk diff -u pkgsrc/mk/tools/tools.NetBSD.mk:1.67 pkgsrc/mk/tools/tools.NetBSD.mk:1.68 --- pkgsrc/mk/tools/tools.NetBSD.mk:1.67 Tue Feb 25 11:20:28 2020 +++ pkgsrc/mk/tools/tools.NetBSD.mk Fri Oct 22 19:00:06 2021 @@ -1,11 +1,11 @@ -# $NetBSD: tools.NetBSD.mk,v 1.67 2020/02/25 11:20:28 tnn Exp $ +# $NetBSD: tools.NetBSD.mk,v 1.68 2021/10/22 19:00:06 jperkin Exp $ # # System-supplied tools for the NetBSD operating system. TOOLS_PLATFORM.[?= [ # shell builtin TOOLS_PLATFORM.awk?= /usr/bin/awk TOOLS_PLATFORM.basename?= /usr/bin/basename -.if !empty(MKBSDTAR:U:Myes) +.if empty(MACHINE_PLATFORM:MNetBSD-[0-8].*) || !empty(MKBSDTAR:U:Myes) TOOLS_PLATFORM.bsdtar?= /bin/tar .endif TOOLS_PLATFORM.byacc?= /usr/bin/yacc --_----------=_1634929207258760--