pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/dragonbox



Module Name:    pkgsrc
Committed By:   ryoon
Date:           Thu Jul 20 19:36:00 UTC 2023

Modified Files:
        pkgsrc/math/dragonbox: Makefile buildlink3.mk

Log Message:
dragonbox: Use c++17/gnu++17. Its header file is for c++17


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/math/dragonbox/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/math/dragonbox/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/math/dragonbox/Makefile
diff -u pkgsrc/math/dragonbox/Makefile:1.2 pkgsrc/math/dragonbox/Makefile:1.3
--- pkgsrc/math/dragonbox/Makefile:1.2  Tue Jan 24 18:36:30 2023
+++ pkgsrc/math/dragonbox/Makefile      Thu Jul 20 19:36:00 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2023/01/24 18:36:30 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2023/07/20 19:36:00 ryoon Exp $
 
 DISTNAME=      dragonbox-${GITHUB_TAG}
 CATEGORIES=    math
@@ -11,7 +11,7 @@ HOMEPAGE=     https://github.com/jk-jeon/dra
 COMMENT=       Floating-point to binary-to-decimal conversion library
 LICENSE=       boost-license OR apache-2.0 # with LLVM exceptions
 
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c gnu++17
 
 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
 

Index: pkgsrc/math/dragonbox/buildlink3.mk
diff -u pkgsrc/math/dragonbox/buildlink3.mk:1.1 pkgsrc/math/dragonbox/buildlink3.mk:1.2
--- pkgsrc/math/dragonbox/buildlink3.mk:1.1     Wed Aug 24 12:53:24 2022
+++ pkgsrc/math/dragonbox/buildlink3.mk Thu Jul 20 19:36:00 2023
@@ -1,10 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.1 2022/08/24 12:53:24 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2023/07/20 19:36:00 ryoon Exp $
 
 BUILDLINK_TREE+=       dragonbox
 
 .if !defined(DRAGONBOX_BUILDLINK3_MK)
 DRAGONBOX_BUILDLINK3_MK:=
 
+USE_CXX_FEATURES=                      c++17 # is_unsigned_v
+
 BUILDLINK_API_DEPENDS.dragonbox+=      dragonbox>=1.1.3
 BUILDLINK_PKGSRCDIR.dragonbox?=                ../../math/dragonbox
 .endif # DRAGONBOX_BUILDLINK3_MK



Home | Main Index | Thread Index | Old Index