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:   nia
Date:           Sun Jul 30 08:24:21 UTC 2023

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

Log Message:
dragonbox: Do not use USE_LANGUAGES to require a newer compiler but rather
USE_CXX_FEATURES. It sets -std=gnu++17 on its own.

Append USE_CXX_FEATURES, don't set it.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/math/dragonbox/Makefile
cvs rdiff -u -r1.2 -r1.3 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.3 pkgsrc/math/dragonbox/Makefile:1.4
--- pkgsrc/math/dragonbox/Makefile:1.3  Thu Jul 20 19:36:00 2023
+++ pkgsrc/math/dragonbox/Makefile      Sun Jul 30 08:24:21 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/07/20 19:36:00 ryoon Exp $
+# $NetBSD: Makefile,v 1.4 2023/07/30 08:24:21 nia Exp $
 
 DISTNAME=      dragonbox-${GITHUB_TAG}
 CATEGORIES=    math
@@ -11,9 +11,11 @@ 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 gnu++17
+USE_LANGUAGES= c c++
 
 CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
 
+USE_CXX_FEATURES+=     c++17
+
 .include "../../devel/cmake/build.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/math/dragonbox/buildlink3.mk
diff -u pkgsrc/math/dragonbox/buildlink3.mk:1.2 pkgsrc/math/dragonbox/buildlink3.mk:1.3
--- pkgsrc/math/dragonbox/buildlink3.mk:1.2     Thu Jul 20 19:36:00 2023
+++ pkgsrc/math/dragonbox/buildlink3.mk Sun Jul 30 08:24:21 2023
@@ -1,11 +1,11 @@
-# $NetBSD: buildlink3.mk,v 1.2 2023/07/20 19:36:00 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2023/07/30 08:24:21 nia Exp $
 
 BUILDLINK_TREE+=       dragonbox
 
 .if !defined(DRAGONBOX_BUILDLINK3_MK)
 DRAGONBOX_BUILDLINK3_MK:=
 
-USE_CXX_FEATURES=                      c++17 # is_unsigned_v
+USE_CXX_FEATURES+=                     c++17 # is_unsigned_v
 
 BUILDLINK_API_DEPENDS.dragonbox+=      dragonbox>=1.1.3
 BUILDLINK_PKGSRCDIR.dragonbox?=                ../../math/dragonbox



Home | Main Index | Thread Index | Old Index