pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/sentencepiece



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.

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



Home | Main Index | Thread Index | Old Index