Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id BC88C84FD1 for ; Sat, 26 Aug 2023 09:49:56 +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 2vFGe8tWzC0D for ; Sat, 26 Aug 2023 09:49:56 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 0E7A484FC1 for ; Sat, 26 Aug 2023 09:49:56 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 01E7BFBDB; Sat, 26 Aug 2023 09:49:55 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1693043395187190" MIME-Version: 1.0 Date: Sat, 26 Aug 2023 09:49:55 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/mk/compiler To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20230826094956.01E7BFBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1693043395187190 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Sat Aug 26 09:49:55 UTC 2023 Modified Files: pkgsrc/mk/compiler: gcc.mk Log Message: mk: add USE_PKGSRC_GCC_* for gcc12 & gcc13 To generate a diff of this commit: cvs rdiff -u -r1.261 -r1.262 pkgsrc/mk/compiler/gcc.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1693043395187190 Content-Disposition: inline Content-Length: 1049 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/mk/compiler/gcc.mk diff -u pkgsrc/mk/compiler/gcc.mk:1.261 pkgsrc/mk/compiler/gcc.mk:1.262 --- pkgsrc/mk/compiler/gcc.mk:1.261 Tue Aug 8 13:33:39 2023 +++ pkgsrc/mk/compiler/gcc.mk Sat Aug 26 09:49:55 2023 @@ -1,4 +1,4 @@ -# $NetBSD: gcc.mk,v 1.261 2023/08/08 13:33:39 tnn Exp $ +# $NetBSD: gcc.mk,v 1.262 2023/08/26 09:49:55 wiz Exp $ # # This is the compiler definition for the GNU Compiler Collection. # @@ -456,6 +456,8 @@ _NEED_GCC10= yes _NEED_GCC12?= no .for _pattern_ in ${_GCC12_PATTERNS} . if !empty(_GCC_REQD:M${_pattern_}) +USE_PKGSRC_GCC= yes +USE_PKGSRC_GCC_RUNTIME= yes . if ${ALLOW_NEWER_COMPILER:tl} != "yes" PKG_FAIL_REASON+= "Package requires at least gcc 12 to build" . endif @@ -465,6 +467,8 @@ _NEED_GCC12= yes _NEED_GCC13?= no .for _pattern_ in ${_GCC13_PATTERNS} . if !empty(_GCC_REQD:M${_pattern_}) +USE_PKGSRC_GCC= yes +USE_PKGSRC_GCC_RUNTIME= yes . if ${ALLOW_NEWER_COMPILER:tl} != "yes" PKG_FAIL_REASON+= "Package requires at least gcc 13 to build" . endif --_----------=_1693043395187190--