pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: nia
Date: Tue Jul 18 14:11:18 UTC 2023
Modified Files:
pkgsrc/devel/ccache: Makefile
pkgsrc/devel/cmake: Makefile Makefile.common
pkgsrc/devel/cppunit: Makefile buildlink3.mk
pkgsrc/devel/cvise: Makefile
pkgsrc/devel/doxygen: Makefile
pkgsrc/devel/elfio: Makefile buildlink3.mk
pkgsrc/devel/exempi: Makefile
pkgsrc/devel/fifengine: Makefile
pkgsrc/devel/geany: Makefile
pkgsrc/devel/glibmm: Makefile buildlink3.mk
pkgsrc/devel/googletest: Makefile
pkgsrc/devel/hyperscan: Makefile
pkgsrc/devel/include-what-you-use: Makefile
pkgsrc/devel/kdiff3: Makefile
pkgsrc/devel/libebml: Makefile buildlink3.mk
pkgsrc/devel/libsigc++: Makefile
pkgsrc/devel/libusb1: Makefile buildlink3.mk
pkgsrc/devel/libuv: Makefile
pkgsrc/devel/lua-language-server: Makefile
pkgsrc/devel/mold: Makefile
pkgsrc/devel/msgpack: Makefile
pkgsrc/devel/ogre: Makefile
pkgsrc/devel/p8-platform: Makefile
pkgsrc/devel/polly: Makefile
pkgsrc/devel/protobuf: Makefile buildlink3.mk
pkgsrc/devel/tomlplusplus: Makefile buildlink3.mk
pkgsrc/devel/xsd: Makefile
Log Message:
devel: Adapt packages to use USE_(CC|CXX)_FEATURES
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/devel/ccache/Makefile
cvs rdiff -u -r1.206 -r1.207 pkgsrc/devel/cmake/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/devel/cmake/Makefile.common
cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/cppunit/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/cppunit/buildlink3.mk
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/cvise/Makefile
cvs rdiff -u -r1.173 -r1.174 pkgsrc/devel/doxygen/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/elfio/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/elfio/buildlink3.mk
cvs rdiff -u -r1.46 -r1.47 pkgsrc/devel/exempi/Makefile
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/fifengine/Makefile
cvs rdiff -u -r1.78 -r1.79 pkgsrc/devel/geany/Makefile
cvs rdiff -u -r1.96 -r1.97 pkgsrc/devel/glibmm/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/glibmm/buildlink3.mk
cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/googletest/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/hyperscan/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/include-what-you-use/Makefile
cvs rdiff -u -r1.98 -r1.99 pkgsrc/devel/kdiff3/Makefile
cvs rdiff -u -r1.55 -r1.56 pkgsrc/devel/libebml/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/libebml/buildlink3.mk
cvs rdiff -u -r1.67 -r1.68 pkgsrc/devel/libsigc++/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/libusb1/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/libusb1/buildlink3.mk
cvs rdiff -u -r1.78 -r1.79 pkgsrc/devel/libuv/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/devel/lua-language-server/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/mold/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/msgpack/Makefile
cvs rdiff -u -r1.49 -r1.50 pkgsrc/devel/ogre/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/p8-platform/Makefile
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/polly/Makefile
cvs rdiff -u -r1.66 -r1.67 pkgsrc/devel/protobuf/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/protobuf/buildlink3.mk
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/tomlplusplus/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/tomlplusplus/buildlink3.mk
cvs rdiff -u -r1.41 -r1.42 pkgsrc/devel/xsd/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/ccache/Makefile
diff -u pkgsrc/devel/ccache/Makefile:1.75 pkgsrc/devel/ccache/Makefile:1.76
--- pkgsrc/devel/ccache/Makefile:1.75 Mon Jun 26 08:32:42 2023
+++ pkgsrc/devel/ccache/Makefile Tue Jul 18 14:11:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2023/06/26 08:32:42 jperkin Exp $
+# $NetBSD: Makefile,v 1.76 2023/07/18 14:11:14 nia Exp $
DISTNAME= ccache-4.8.2
CATEGORIES= devel
@@ -12,11 +12,11 @@ HOMEPAGE= https://ccache.dev/
COMMENT= Cache for C/C++ compilers
LICENSE= gnu-gpl-v3 AND modified-bsd AND public-domain AND zlib
-USE_LANGUAGES= c99 c++17
+USE_LANGUAGES= c c++
USE_TOOLS+= perl:build pkg-config
TEST_TARGET= test
-GCC_REQD+= 8 # std::filesystem
+USE_CXX_FEATURES+= filesystem
LDFLAGS.SunOS+= -lsocket
Index: pkgsrc/devel/cmake/Makefile
diff -u pkgsrc/devel/cmake/Makefile:1.206 pkgsrc/devel/cmake/Makefile:1.207
--- pkgsrc/devel/cmake/Makefile:1.206 Tue Jul 18 06:14:50 2023
+++ pkgsrc/devel/cmake/Makefile Tue Jul 18 14:11:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.206 2023/07/18 06:14:50 adam Exp $
+# $NetBSD: Makefile,v 1.207 2023/07/18 14:11:14 nia Exp $
.include "Makefile.common"
@@ -6,7 +6,6 @@ PKGREVISION= 1
COMMENT= Cross platform make
USE_TOOLS+= gmake
-GCC_REQD+= 4.8
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= bootstrap
Index: pkgsrc/devel/cmake/Makefile.common
diff -u pkgsrc/devel/cmake/Makefile.common:1.4 pkgsrc/devel/cmake/Makefile.common:1.5
--- pkgsrc/devel/cmake/Makefile.common:1.4 Wed Aug 17 13:38:30 2022
+++ pkgsrc/devel/cmake/Makefile.common Tue Jul 18 14:11:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.4 2022/08/17 13:38:30 tnn Exp $
+# $NetBSD: Makefile.common,v 1.5 2023/07/18 14:11:14 nia Exp $
# used by devel/cmake-gui/Makefile
# used by devel/cmake-mode/Makefile
@@ -15,7 +15,9 @@ LICENSE= modified-bsd
DISTINFO_FILE= ${.CURDIR}/../../devel/cmake/distinfo
PATCHDIR= ${.CURDIR}/../../devel/cmake/patches
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
+
+USE_CXX_FEATURES+= c++11
# Workaround issue in NetBSD before stdio.h r1.35 (NetBSD 9_STABLE)
CXXFLAGS.NetBSD+= -D_NETBSD_SOURCE
Index: pkgsrc/devel/cppunit/Makefile
diff -u pkgsrc/devel/cppunit/Makefile:1.32 pkgsrc/devel/cppunit/Makefile:1.33
--- pkgsrc/devel/cppunit/Makefile:1.32 Thu Jul 13 13:45:41 2023
+++ pkgsrc/devel/cppunit/Makefile Tue Jul 18 14:11:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2023/07/13 13:45:41 nia Exp $
+# $NetBSD: Makefile,v 1.33 2023/07/18 14:11:14 nia Exp $
DISTNAME= cppunit-1.15.1
CATEGORIES= devel
@@ -14,6 +14,8 @@ USE_LIBTOOL= yes
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
+USE_CXX_FEATURES+= c++11
+
CONFIGURE_ARGS+= --disable-werror
PKGCONFIG_OVERRIDE= cppunit.pc.in
Index: pkgsrc/devel/cppunit/buildlink3.mk
diff -u pkgsrc/devel/cppunit/buildlink3.mk:1.13 pkgsrc/devel/cppunit/buildlink3.mk:1.14
--- pkgsrc/devel/cppunit/buildlink3.mk:1.13 Thu Jul 13 13:45:41 2023
+++ pkgsrc/devel/cppunit/buildlink3.mk Tue Jul 18 14:11:14 2023
@@ -1,10 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.13 2023/07/13 13:45:41 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2023/07/18 14:11:14 nia Exp $
BUILDLINK_TREE+= cppunit
.if !defined(CPPUNIT_BUILDLINK3_MK)
CPPUNIT_BUILDLINK3_MK:=
+USE_CXX_FEATURES+= c++11
+
BUILDLINK_API_DEPENDS.cppunit+= cppunit>=1.10.2
BUILDLINK_ABI_DEPENDS.cppunit+= cppunit>=1.10.2nb5
BUILDLINK_PKGSRCDIR.cppunit?= ../../devel/cppunit
Index: pkgsrc/devel/cvise/Makefile
diff -u pkgsrc/devel/cvise/Makefile:1.13 pkgsrc/devel/cvise/Makefile:1.14
--- pkgsrc/devel/cvise/Makefile:1.13 Sun Jul 9 13:59:49 2023
+++ pkgsrc/devel/cvise/Makefile Tue Jul 18 14:11:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2023/07/09 13:59:49 nia Exp $
+# $NetBSD: Makefile,v 1.14 2023/07/18 14:11:14 nia Exp $
DISTNAME= cvise-2.8.0
CATEGORIES= devel
@@ -19,8 +19,7 @@ USE_LANGUAGES= c c++
USE_TOOLS+= flex
TEST_TARGET= test
-# g++: error: unrecognized command line option '-std=c++17'
-GCC_REQD+= 7
+USE_CXX_FEATURES+= c++17
PYTHON_VERSIONS_INCOMPATIBLE= 27
Index: pkgsrc/devel/doxygen/Makefile
diff -u pkgsrc/devel/doxygen/Makefile:1.173 pkgsrc/devel/doxygen/Makefile:1.174
--- pkgsrc/devel/doxygen/Makefile:1.173 Wed Jun 7 11:27:29 2023
+++ pkgsrc/devel/doxygen/Makefile Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.173 2023/06/07 11:27:29 micha Exp $
+# $NetBSD: Makefile,v 1.174 2023/07/18 14:11:15 nia Exp $
DISTNAME= doxygen-1.9.7.src
PKGNAME= ${DISTNAME:S/.src//}
@@ -19,11 +19,8 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
UNLIMIT_RESOURCES+= datasize
# doxygen changelog says at least this version of flex is required
FLEX_REQD+= 2.6.4
-# doxygen changelog says a C++17 compiler is required. Uses -std=gnu++1z
-# Native std::filesystem requires GCC 9. Patch for emulation is still present
-# Tested to work with GCC 7.5.0 from NetBSD 9.2
-GCC_REQD+= 5
USE_LANGUAGES= c c++
+USE_CXX_FEATURES+= c++17
USE_TOOLS+= gmake gs:run perl:run bison flex
MAKE_ENV+= PKGSRC_CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+= MAN1DIR=${PKGMANDIR}/man1
Index: pkgsrc/devel/elfio/Makefile
diff -u pkgsrc/devel/elfio/Makefile:1.3 pkgsrc/devel/elfio/Makefile:1.4
--- pkgsrc/devel/elfio/Makefile:1.3 Sun Jul 9 14:03:20 2023
+++ pkgsrc/devel/elfio/Makefile Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2023/07/09 14:03:20 nia Exp $
+# $NetBSD: Makefile,v 1.4 2023/07/18 14:11:15 nia Exp $
#
DISTNAME= elfio-3.11
@@ -13,7 +13,6 @@ LICENSE= mit
USE_CMAKE= yes
USE_LANGUAGES= c c++
-# std::make_unique
-GCC_REQD+= 5
+USE_CXX_FEATURES+= unique_ptr
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/elfio/buildlink3.mk
diff -u pkgsrc/devel/elfio/buildlink3.mk:1.2 pkgsrc/devel/elfio/buildlink3.mk:1.3
--- pkgsrc/devel/elfio/buildlink3.mk:1.2 Mon Dec 12 14:44:34 2022
+++ pkgsrc/devel/elfio/buildlink3.mk Tue Jul 18 14:11:15 2023
@@ -1,10 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.2 2022/12/12 14:44:34 nros Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2023/07/18 14:11:15 nia Exp $
BUILDLINK_TREE+= elfio
.if !defined(ELFIO_BUILDLINK3_MK)
ELFIO_BUILDLINK3_MK:=
+USE_CXX_FEATURES+= unique_ptr
+
BUILDLINK_DEPMETHOD.elfio?= build
BUILDLINK_API_DEPENDS.elfio+= elfio>=3.9
BUILDLINK_PKGSRCDIR.elfio?= ../../devel/elfio
Index: pkgsrc/devel/exempi/Makefile
diff -u pkgsrc/devel/exempi/Makefile:1.46 pkgsrc/devel/exempi/Makefile:1.47
--- pkgsrc/devel/exempi/Makefile:1.46 Sun Apr 23 14:26:15 2023
+++ pkgsrc/devel/exempi/Makefile Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2023/04/23 14:26:15 adam Exp $
+# $NetBSD: Makefile,v 1.47 2023/07/18 14:11:15 nia Exp $
DISTNAME= exempi-2.5.2
PKGREVISION= 6
@@ -15,9 +15,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= ac_cv_tls=none
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
-GCC_REQD+= 4.8
+USE_CXX_FEATURES+= c++11
CONFIGURE_ARGS+= LIBS=${BUILDLINK_LDADD.iconv:Q}
Index: pkgsrc/devel/fifengine/Makefile
diff -u pkgsrc/devel/fifengine/Makefile:1.23 pkgsrc/devel/fifengine/Makefile:1.24
--- pkgsrc/devel/fifengine/Makefile:1.23 Sat May 6 19:09:09 2023
+++ pkgsrc/devel/fifengine/Makefile Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2023/05/06 19:09:09 ryoon Exp $
+# $NetBSD: Makefile,v 1.24 2023/07/18 14:11:15 nia Exp $
DISTNAME= fifengine-0.4.2
PKGREVISION= 21
@@ -12,12 +12,11 @@ LICENSE= gnu-lgpl-v2.1
USE_CMAKE= yes
USE_TOOLS+= pkg-config
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
-UNLIMIT_RESOURCES= datasize virtualsize
+USE_CXX_FEATURES+= c++11
-# C++11
-GCC_REQD+= 4.8
+UNLIMIT_RESOURCES= datasize virtualsize
TOOL_DEPENDS+= swig3>=3.0:../../devel/swig3
Index: pkgsrc/devel/geany/Makefile
diff -u pkgsrc/devel/geany/Makefile:1.78 pkgsrc/devel/geany/Makefile:1.79
--- pkgsrc/devel/geany/Makefile:1.78 Sun Jan 29 21:15:46 2023
+++ pkgsrc/devel/geany/Makefile Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2023/01/29 21:15:46 ryoon Exp $
+# $NetBSD: Makefile,v 1.79 2023/07/18 14:11:15 nia Exp $
DISTNAME= geany-1.38
PKGREVISION= 5
@@ -15,10 +15,8 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config msgfmt gmake perl:run intltool
-USE_LANGUAGES= c c++17
-
-# C++17
-GCC_REQD+= 7
+USE_LANGUAGES= c c++
+USE_CXX_FEATURES+= c++17
PKGCONFIG_OVERRIDE+= geany.pc.in
Index: pkgsrc/devel/glibmm/Makefile
diff -u pkgsrc/devel/glibmm/Makefile:1.96 pkgsrc/devel/glibmm/Makefile:1.97
--- pkgsrc/devel/glibmm/Makefile:1.96 Mon Jun 26 19:34:52 2023
+++ pkgsrc/devel/glibmm/Makefile Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.96 2023/06/26 19:34:52 adam Exp $
+# $NetBSD: Makefile,v 1.97 2023/07/18 14:11:15 nia Exp $
DISTNAME= glibmm-2.66.6
CATEGORIES= devel gnome
@@ -10,10 +10,8 @@ HOMEPAGE= https://www.gtkmm.org/
COMMENT= C++ bindings for glib (2.4 API)
LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2.1
-# With 4.8, one gets the following:
-# error: no matching function for call to 'regex_replace(const char*&, std::regex, const char [3])'
-GCC_REQD+= 4.9
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
+USE_CXX_FEATURES+= c++11 regex
USE_PKGLOCALEDIR= yes
USE_TOOLS+= gm4 perl:run pkg-config
PKGCONFIG_OVERRIDE+= gio/giomm.pc.in
Index: pkgsrc/devel/glibmm/buildlink3.mk
diff -u pkgsrc/devel/glibmm/buildlink3.mk:1.21 pkgsrc/devel/glibmm/buildlink3.mk:1.22
--- pkgsrc/devel/glibmm/buildlink3.mk:1.21 Tue Jun 28 11:31:44 2022
+++ pkgsrc/devel/glibmm/buildlink3.mk Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.21 2022/06/28 11:31:44 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2023/07/18 14:11:15 nia Exp $
BUILDLINK_TREE+= glibmm
@@ -9,7 +9,7 @@ BUILDLINK_API_DEPENDS.glibmm+= glibmm>=2
BUILDLINK_ABI_DEPENDS.glibmm+= glibmm>=2.66.2nb2
BUILDLINK_PKGSRCDIR.glibmm?= ../../devel/glibmm
-GCC_REQD+= 4.9
+USE_CXX_FEATURES+= regex c++11
.include "../../devel/glib2/buildlink3.mk"
.include "../../devel/libsigc++/buildlink3.mk"
Index: pkgsrc/devel/googletest/Makefile
diff -u pkgsrc/devel/googletest/Makefile:1.23 pkgsrc/devel/googletest/Makefile:1.24
--- pkgsrc/devel/googletest/Makefile:1.23 Fri Mar 3 09:58:34 2023
+++ pkgsrc/devel/googletest/Makefile Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2023/03/03 09:58:34 adam Exp $
+# $NetBSD: Makefile,v 1.24 2023/07/18 14:11:15 nia Exp $
DISTNAME= googletest-1.13.0
CATEGORIES= devel
@@ -10,6 +10,8 @@ HOMEPAGE= https://github.com/google/goog
COMMENT= Google's C++ testing framework
LICENSE= modified-bsd
+# XXX check this and update it to use USE_CXX_FEATURES
+# gcc7 is very high for a c++11 or c++14 baseline
USE_LANGUAGES= c c++14
# cc1plus: error: unrecognized command line option "-std=c++11"
Index: pkgsrc/devel/hyperscan/Makefile
diff -u pkgsrc/devel/hyperscan/Makefile:1.12 pkgsrc/devel/hyperscan/Makefile:1.13
--- pkgsrc/devel/hyperscan/Makefile:1.12 Tue Jun 6 12:40:38 2023
+++ pkgsrc/devel/hyperscan/Makefile Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2023/06/06 12:40:38 riastradh Exp $
+# $NetBSD: Makefile,v 1.13 2023/07/18 14:11:15 nia Exp $
DISTNAME= hyperscan-5.0.0
PKGREVISION= 6
@@ -15,10 +15,10 @@ ONLY_FOR_PLATFORM= *-*-i386 *-*-x86_64
TOOL_DEPENDS+= ragel-[0-9]*:../../devel/ragel
-GCC_REQD+= 4.8.1
PYTHON_FOR_BUILD_ONLY= yes
USE_CMAKE= yes
-USE_LANGUAGES= c99 c++11
+USE_LANGUAGES= c99 c++
+USE_CXX_FEATURES+= c++11
USE_TOOLS+= pkg-config
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
Index: pkgsrc/devel/include-what-you-use/Makefile
diff -u pkgsrc/devel/include-what-you-use/Makefile:1.34 pkgsrc/devel/include-what-you-use/Makefile:1.35
--- pkgsrc/devel/include-what-you-use/Makefile:1.34 Wed Apr 19 08:09:41 2023
+++ pkgsrc/devel/include-what-you-use/Makefile Tue Jul 18 14:11:15 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2023/04/19 08:09:41 adam Exp $
+# $NetBSD: Makefile,v 1.35 2023/07/18 14:11:15 nia Exp $
DISTNAME= include-what-you-use-0.19
PKGREVISION= 2
@@ -11,9 +11,9 @@ COMMENT= Analyze \#includes in C and C++
LICENSE= modified-bsd
USE_CMAKE= yes
-USE_LANGUAGES= c c++14
+USE_LANGUAGES= c c++
-GCC_REQD+= 5
+USE_CXX_FEATURES+= c++17
CMAKE_ARGS= -DIWYU_LLVM_ROOT_PATH:PATH=${BUILDLINK_PREFIX.clang}
Index: pkgsrc/devel/kdiff3/Makefile
diff -u pkgsrc/devel/kdiff3/Makefile:1.98 pkgsrc/devel/kdiff3/Makefile:1.99
--- pkgsrc/devel/kdiff3/Makefile:1.98 Tue Jul 11 00:13:07 2023
+++ pkgsrc/devel/kdiff3/Makefile Tue Jul 18 14:11:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.98 2023/07/11 00:13:07 gutteridge Exp $
+# $NetBSD: Makefile,v 1.99 2023/07/18 14:11:16 nia Exp $
DISTNAME= kdiff3-1.10.5
CATEGORIES= devel
@@ -11,8 +11,9 @@ COMMENT= File and directory diff and mer
LICENSE= gnu-gpl-v2
USE_CMAKE= yes
-USE_LANGUAGES= c c++17
-GCC_REQD+= 7 # C++17
+USE_LANGUAGES= c c++
+
+USE_CXX_FEATURES+= c++17
BUILDLINK_TRANSFORM+= rm:-Wl,--fatal-warnings
Index: pkgsrc/devel/libebml/Makefile
diff -u pkgsrc/devel/libebml/Makefile:1.55 pkgsrc/devel/libebml/Makefile:1.56
--- pkgsrc/devel/libebml/Makefile:1.55 Thu Jul 13 13:45:41 2023
+++ pkgsrc/devel/libebml/Makefile Tue Jul 18 14:11:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2023/07/13 13:45:41 nia Exp $
+# $NetBSD: Makefile,v 1.56 2023/07/18 14:11:16 nia Exp $
DISTNAME= libebml-1.4.4
CATEGORIES= devel
@@ -11,6 +11,7 @@ COMMENT= Extensible Binary Meta Language
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= c c++
+USE_CXX_FEATURES+= c++14
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=YES
PKGCONFIG_OVERRIDE= libebml.pc.in
Index: pkgsrc/devel/libebml/buildlink3.mk
diff -u pkgsrc/devel/libebml/buildlink3.mk:1.21 pkgsrc/devel/libebml/buildlink3.mk:1.22
--- pkgsrc/devel/libebml/buildlink3.mk:1.21 Mon Jun 29 15:08:26 2020
+++ pkgsrc/devel/libebml/buildlink3.mk Tue Jul 18 14:11:16 2023
@@ -1,10 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.21 2020/06/29 15:08:26 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2023/07/18 14:11:16 nia Exp $
BUILDLINK_TREE+= libebml
.if !defined(LIBEBML_BUILDLINK3_MK)
LIBEBML_BUILDLINK3_MK:=
+USE_CXX_FEATURES+= c++14
+
BUILDLINK_API_DEPENDS.libebml+= libebml>=0.8
BUILDLINK_ABI_DEPENDS.libebml+= libebml>=1.4.0
BUILDLINK_PKGSRCDIR.libebml?= ../../devel/libebml
Index: pkgsrc/devel/libsigc++/Makefile
diff -u pkgsrc/devel/libsigc++/Makefile:1.67 pkgsrc/devel/libsigc++/Makefile:1.68
--- pkgsrc/devel/libsigc++/Makefile:1.67 Mon Jul 25 19:22:22 2022
+++ pkgsrc/devel/libsigc++/Makefile Tue Jul 18 14:11:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2022/07/25 19:22:22 wiz Exp $
+# $NetBSD: Makefile,v 1.68 2023/07/18 14:11:16 nia Exp $
DISTNAME= libsigc++-2.10.8
CATEGORIES= devel gnome
@@ -13,7 +13,7 @@ LICENSE= gnu-lgpl-v2.1
CONFLICTS+= libsigc++2-[0-9]*
GCC_REQD+= 4.8
-USE_LANGUAGES= c c++11
+USE_LANGUAGES= c c++
USE_TOOLS+= gm4 pkg-config
PKGCONFIG_OVERRIDE= sigc++.pc.in
PYTHON_FOR_BUILD_ONLY= tool
Index: pkgsrc/devel/libusb1/Makefile
diff -u pkgsrc/devel/libusb1/Makefile:1.30 pkgsrc/devel/libusb1/Makefile:1.31
--- pkgsrc/devel/libusb1/Makefile:1.30 Thu Jul 13 13:45:41 2023
+++ pkgsrc/devel/libusb1/Makefile Tue Jul 18 14:11:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2023/07/13 13:45:41 nia Exp $
+# $NetBSD: Makefile,v 1.31 2023/07/18 14:11:16 nia Exp $
DISTNAME= libusb-1.0.26
PKGNAME= ${DISTNAME:S/libusb/libusb1/}
@@ -17,6 +17,8 @@ LICENSE= gnu-lgpl-v2.1
# see PR 47042.
NOT_FOR_PLATFORM= DragonFly-*-*
+USE_CC_FEATURES+= c11
+
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
Index: pkgsrc/devel/libusb1/buildlink3.mk
diff -u pkgsrc/devel/libusb1/buildlink3.mk:1.6 pkgsrc/devel/libusb1/buildlink3.mk:1.7
--- pkgsrc/devel/libusb1/buildlink3.mk:1.6 Thu Jul 13 13:45:41 2023
+++ pkgsrc/devel/libusb1/buildlink3.mk Tue Jul 18 14:11:16 2023
@@ -1,10 +1,13 @@
-# $NetBSD: buildlink3.mk,v 1.6 2023/07/13 13:45:41 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2023/07/18 14:11:16 nia Exp $
BUILDLINK_TREE+= libusb1
.if !defined(LIBUSB1_BUILDLINK3_MK)
+
LIBUSB1_BUILDLINK3_MK:=
+USE_CC_FEATURES+= c11
+
BUILDLINK_API_DEPENDS.libusb1+= libusb1>=1.0.9
BUILDLINK_PKGSRCDIR.libusb1?= ../../devel/libusb1
Index: pkgsrc/devel/libuv/Makefile
diff -u pkgsrc/devel/libuv/Makefile:1.78 pkgsrc/devel/libuv/Makefile:1.79
--- pkgsrc/devel/libuv/Makefile:1.78 Sat Jul 1 09:10:35 2023
+++ pkgsrc/devel/libuv/Makefile Tue Jul 18 14:11:16 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.78 2023/07/01 09:10:35 adam Exp $
+# $NetBSD: Makefile,v 1.79 2023/07/18 14:11:16 nia Exp $
DISTNAME= libuv-1.46.0
CATEGORIES= devel
@@ -11,7 +11,8 @@ COMMENT= Cross-platform asychronous I/O
LICENSE= mit AND 2-clause-bsd AND isc AND modified-bsd
USE_LANGUAGES= c11 # stdatomic.h
-GCC_REQD+= 4.9 # XXX until USE_LANGUAGES knows about c11/gcc49
+
+USE_CXX_FEATURES+= c11
USE_LIBTOOL= yes
USE_TOOLS+= autoconf automake pkg-config
Index: pkgsrc/devel/lua-language-server/Makefile
diff -u pkgsrc/devel/lua-language-server/Makefile:1.9 pkgsrc/devel/lua-language-server/Makefile:1.10
--- pkgsrc/devel/lua-language-server/Makefile:1.9 Wed May 31 14:32:35 2023
+++ pkgsrc/devel/lua-language-server/Makefile Tue Jul 18 14:11:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2023/05/31 14:32:35 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2023/07/18 14:11:17 nia Exp $
DISTNAME= lua-language-server-3.6.21
PKGNAME= ${DISTNAME:S/lua/${LUA_PKGPREFIX}/}
@@ -23,7 +23,7 @@ TOOL_DEPENDS+= ninja-build-[0-9]*:../..
DEPENDS+= clang-[0-9]*:../../lang/clang
USE_LANGUAGES+= c c++17
-GCC_REQD+= 7 # C++17
+USE_CXX_FEATURES+= c++17
BUILDLINK_TRANSFORM+= rm:-Werror
Index: pkgsrc/devel/mold/Makefile
diff -u pkgsrc/devel/mold/Makefile:1.31 pkgsrc/devel/mold/Makefile:1.32
--- pkgsrc/devel/mold/Makefile:1.31 Fri Mar 17 16:33:52 2023
+++ pkgsrc/devel/mold/Makefile Tue Jul 18 14:11:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2023/03/17 16:33:52 fcambus Exp $
+# $NetBSD: Makefile,v 1.32 2023/07/18 14:11:17 nia Exp $
DISTNAME= mold-1.11.0
CATEGORIES= devel
@@ -26,7 +26,7 @@ SUBST_SED.alloca= -e 's|<alloca.h>|<stdl
# This package uses a lot of C++20 features. GCC 10 is the oldest GCC that can
# build it.
-GCC_REQD+= 10
+USE_CXX_FEATURES+= c++20
# Handle linker flags for dlopen and pthread automatically.
DL_AUTO_VARS= yes
Index: pkgsrc/devel/msgpack/Makefile
diff -u pkgsrc/devel/msgpack/Makefile:1.20 pkgsrc/devel/msgpack/Makefile:1.21
--- pkgsrc/devel/msgpack/Makefile:1.20 Sun Jul 9 14:45:20 2023
+++ pkgsrc/devel/msgpack/Makefile Tue Jul 18 14:11:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2023/07/09 14:45:20 nia Exp $
+# $NetBSD: Makefile,v 1.21 2023/07/18 14:11:17 nia Exp $
DISTNAME= msgpack-3.3.0
PKGREVISION= 1
@@ -23,7 +23,8 @@ TEST_TARGET= test
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_GTest=ON
CMAKE_ARGS+= -DMSGPACK_BUILD_TESTS=OFF
CMAKE_ARGS+= -DMSGPACK_CXX11=ON
-GCC_REQD+= 4.8
+
+USE_CXX_FEATURES+= c++11
#.include "../../devel/googletest/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
Index: pkgsrc/devel/ogre/Makefile
diff -u pkgsrc/devel/ogre/Makefile:1.49 pkgsrc/devel/ogre/Makefile:1.50
--- pkgsrc/devel/ogre/Makefile:1.49 Thu Mar 9 11:17:34 2023
+++ pkgsrc/devel/ogre/Makefile Tue Jul 18 14:11:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2023/03/09 11:17:34 he Exp $
+# $NetBSD: Makefile,v 1.50 2023/07/18 14:11:17 nia Exp $
DISTNAME= ogre-1.12.11
PKGREVISION= 1
@@ -16,7 +16,7 @@ USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
USE_LANGUAGES+= gnu++11 # uses alloca()
-GCC_REQD+= 4.7 # C++11
+USE_CXX_FEATURES+= c++11
# Unsupported on some pkgsrc platforms (e.g. NetBSD).
# It attempts to enable them solely based on the compiler version, which
Index: pkgsrc/devel/p8-platform/Makefile
diff -u pkgsrc/devel/p8-platform/Makefile:1.1 pkgsrc/devel/p8-platform/Makefile:1.2
--- pkgsrc/devel/p8-platform/Makefile:1.1 Sun Sep 8 12:27:08 2019
+++ pkgsrc/devel/p8-platform/Makefile Tue Jul 18 14:11:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/09/08 12:27:08 nia Exp $
+# $NetBSD: Makefile,v 1.2 2023/07/18 14:11:17 nia Exp $
DISTNAME= p8-platform-2.1.0.1
CATEGORIES= devel
@@ -14,7 +14,6 @@ LICENSE= gnu-gpl-v2
USE_CMAKE= yes
USE_LANGUAGES= c c++11
-# c++11
-GCC_REQD+= 4.8
+USE_CXX_FEATURES+= c++11
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/polly/Makefile
diff -u pkgsrc/devel/polly/Makefile:1.20 pkgsrc/devel/polly/Makefile:1.21
--- pkgsrc/devel/polly/Makefile:1.20 Sun Jul 9 14:48:40 2023
+++ pkgsrc/devel/polly/Makefile Tue Jul 18 14:11:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2023/07/09 14:48:40 nia Exp $
+# $NetBSD: Makefile,v 1.21 2023/07/18 14:11:17 nia Exp $
.include "../../lang/llvm/version.mk"
@@ -17,8 +17,8 @@ CONFIGURE_DIRS= ${WRKDIR}/build
CMAKE_ARG_PATH= ${WRKSRC}
USE_LANGUAGES= c c++14
+USE_CXX_FEATURES+= c++14
USE_CMAKE= yes
-GCC_REQD+= 5
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=Release
CMAKE_ARGS+= -DCMAKE_C_COMPILER=${CC:Q}
Index: pkgsrc/devel/protobuf/Makefile
diff -u pkgsrc/devel/protobuf/Makefile:1.66 pkgsrc/devel/protobuf/Makefile:1.67
--- pkgsrc/devel/protobuf/Makefile:1.66 Thu Jul 13 13:45:42 2023
+++ pkgsrc/devel/protobuf/Makefile Tue Jul 18 14:11:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.66 2023/07/13 13:45:42 nia Exp $
+# $NetBSD: Makefile,v 1.67 2023/07/18 14:11:17 nia Exp $
#
# When updating this, please also update devel/py-protobuf
#
@@ -30,6 +30,8 @@ PKGCONFIG_OVERRIDE+= protobuf-lite.pc.in
PKGCONFIG_OVERRIDE+= protobuf.pc.in
TEST_TARGET= check
+USE_CXX_FEATURES+= c++11
+
# false positive: the Makefile generates bash programs
CHECK_PORTABILITY_SKIP= benchmarks/Makefile.in
# the [[ command will skip a test that would otherwise run
Index: pkgsrc/devel/protobuf/buildlink3.mk
diff -u pkgsrc/devel/protobuf/buildlink3.mk:1.12 pkgsrc/devel/protobuf/buildlink3.mk:1.13
--- pkgsrc/devel/protobuf/buildlink3.mk:1.12 Thu Jul 13 13:45:42 2023
+++ pkgsrc/devel/protobuf/buildlink3.mk Tue Jul 18 14:11:17 2023
@@ -1,10 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.12 2023/07/13 13:45:42 nia Exp $
+# $NetBSD: buildlink3.mk,v 1.13 2023/07/18 14:11:17 nia Exp $
BUILDLINK_TREE+= protobuf
.if !defined(PROTOBUF_BUILDLINK3_MK)
PROTOBUF_BUILDLINK3_MK:=
+USE_CXX_FEATURES+= c++11
+
BUILDLINK_API_DEPENDS.protobuf+= protobuf>=3.0.0
BUILDLINK_ABI_DEPENDS.protobuf+= protobuf>=3.19.0nb1
BUILDLINK_PKGSRCDIR.protobuf?= ../../devel/protobuf
Index: pkgsrc/devel/tomlplusplus/Makefile
diff -u pkgsrc/devel/tomlplusplus/Makefile:1.7 pkgsrc/devel/tomlplusplus/Makefile:1.8
--- pkgsrc/devel/tomlplusplus/Makefile:1.7 Thu Jul 13 13:45:42 2023
+++ pkgsrc/devel/tomlplusplus/Makefile Tue Jul 18 14:11:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2023/07/13 13:45:42 nia Exp $
+# $NetBSD: Makefile,v 1.8 2023/07/18 14:11:17 nia Exp $
DISTNAME= tomlplusplus-3.3.0
CATEGORIES= devel
@@ -14,5 +14,7 @@ USE_CMAKE= yes
USE_LANGUAGES= c c++
MESON_ARGS+= --datadir=lib
+USE_CXX_FEATURES+= c++17
+
.include "../../devel/meson/build.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/tomlplusplus/buildlink3.mk
diff -u pkgsrc/devel/tomlplusplus/buildlink3.mk:1.2 pkgsrc/devel/tomlplusplus/buildlink3.mk:1.3
--- pkgsrc/devel/tomlplusplus/buildlink3.mk:1.2 Wed Apr 26 19:57:06 2023
+++ pkgsrc/devel/tomlplusplus/buildlink3.mk Tue Jul 18 14:11:17 2023
@@ -1,10 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.2 2023/04/26 19:57:06 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.3 2023/07/18 14:11:17 nia Exp $
BUILDLINK_TREE+= tomlplusplus
.if !defined(TOMLPLUSPLUS_BUILDLINK3_MK)
TOMLPLUSPLUS_BUILDLINK3_MK:=
+USE_CXX_FEATURES+= c++17
+
BUILDLINK_API_DEPENDS.tomlplusplus+= tomlplusplus>=3.3.0
BUILDLINK_PKGSRCDIR.tomlplusplus?= ../../devel/tomlplusplus
Index: pkgsrc/devel/xsd/Makefile
diff -u pkgsrc/devel/xsd/Makefile:1.41 pkgsrc/devel/xsd/Makefile:1.42
--- pkgsrc/devel/xsd/Makefile:1.41 Fri Mar 19 22:09:55 2021
+++ pkgsrc/devel/xsd/Makefile Tue Jul 18 14:11:17 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.41 2021/03/19 22:09:55 markd Exp $
+# $NetBSD: Makefile,v 1.42 2023/07/18 14:11:17 nia Exp $
DISTNAME= xsd-4.0.0+dep
PKGNAME= ${DISTNAME:S/+dep//1}
@@ -14,8 +14,7 @@ LICENSE= gnu-gpl-v2
USE_TOOLS+= bash gmake gm4
USE_LANGUAGES= c c++11
-
-GCC_REQD+= 4.7 # C++11
+USE_CXX_FEATURES+= c++11
MAKE_FILE= makefile
Home |
Main Index |
Thread Index |
Old Index