Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id A107684E57 for ; Tue, 11 Jul 2023 06:09:30 +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 cCRzveoL7AMm for ; Tue, 11 Jul 2023 06:09:30 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 16CDE84D17 for ; Tue, 11 Jul 2023 06:09:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 0B0EEFBDB; Tue, 11 Jul 2023 06:09:30 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_16890557701070" MIME-Version: 1.0 Date: Tue, 11 Jul 2023 06:09:30 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/textproc/sentencepiece To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20230711060930.0B0EEFBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_16890557701070 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Tue Jul 11 06:09:29 UTC 2023 Modified Files: pkgsrc/textproc/sentencepiece: Makefile.common buildlink3.mk Log Message: sentencepiece: Require a C++17 compiler the proper way. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/sentencepiece/Makefile.common \ pkgsrc/textproc/sentencepiece/buildlink3.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_16890557701070 Content-Disposition: inline Content-Length: 1550 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/textproc/sentencepiece/Makefile.common diff -u pkgsrc/textproc/sentencepiece/Makefile.common:1.1 pkgsrc/textproc/sentencepiece/Makefile.common:1.2 --- pkgsrc/textproc/sentencepiece/Makefile.common:1.1 Mon Mar 13 14:17:12 2023 +++ pkgsrc/textproc/sentencepiece/Makefile.common Tue Jul 11 06:09:29 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1 2023/03/13 14:17:12 wiz Exp $ +# $NetBSD: Makefile.common,v 1.2 2023/07/11 06:09:29 nia Exp $ # # used by textproc/sentencepiece/Makefile # used by textproc/py-sentencepiece/Makefile @@ -13,4 +13,7 @@ HOMEPAGE= https://github.com/google/sent COMMENT= Unsupervised text tokenizer for Neural Network-based text generation LICENSE= apache-2.0 -USE_LANGUAGES= c c++17 +USE_LANGUAGES= c c++ + +# C++17 +GCC_REQD+= 7 Index: pkgsrc/textproc/sentencepiece/buildlink3.mk diff -u pkgsrc/textproc/sentencepiece/buildlink3.mk:1.1 pkgsrc/textproc/sentencepiece/buildlink3.mk:1.2 --- pkgsrc/textproc/sentencepiece/buildlink3.mk:1.1 Mon Mar 13 14:17:12 2023 +++ pkgsrc/textproc/sentencepiece/buildlink3.mk Tue Jul 11 06:09:29 2023 @@ -1,10 +1,13 @@ -# $NetBSD: buildlink3.mk,v 1.1 2023/03/13 14:17:12 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2023/07/11 06:09:29 nia Exp $ BUILDLINK_TREE+= sentencepiece .if !defined(SENTENCEPIECE_BUILDLINK3_MK) SENTENCEPIECE_BUILDLINK3_MK:= +# C++17 +GCC_REQD+= 7 + BUILDLINK_API_DEPENDS.sentencepiece+= sentencepiece>=0.1.97 BUILDLINK_PKGSRCDIR.sentencepiece?= ../../textproc/sentencepiece .endif # SENTENCEPIECE_BUILDLINK3_MK --_----------=_16890557701070--