diff options
author | nia <nia@pkgsrc.org> | 2021-05-27 17:02:24 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-05-27 17:02:24 +0000 |
commit | c243c2cb4a98bff10432989297099823b4253610 (patch) | |
tree | 0adcb7a47efdddb00771ffe5b3939e8a50ef424e | |
parent | d7f94fab41c165685c051e9e1ec40777a47d837e (diff) | |
download | pkgsrc-c243c2cb4a98bff10432989297099823b4253610.tar.gz |
boost: bump GCC requirement
-rw-r--r-- | devel/boost-libs/buildlink3.mk | 11 | ||||
-rw-r--r-- | meta-pkgs/boost/Makefile.common | 14 |
2 files changed, 6 insertions, 19 deletions
diff --git a/devel/boost-libs/buildlink3.mk b/devel/boost-libs/buildlink3.mk index 2fd0bb78f4e..d6d6ca3eeb3 100644 --- a/devel/boost-libs/buildlink3.mk +++ b/devel/boost-libs/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.55 2021/04/21 12:09:50 adam Exp $ +# $NetBSD: buildlink3.mk,v 1.56 2021/05/27 17:02:24 nia Exp $ BUILDLINK_TREE+= boost-libs @@ -11,13 +11,8 @@ BUILDLINK_PKGSRCDIR.boost-libs?= ../../devel/boost-libs .include "../../mk/bsd.fast.prefs.mk" # Sync with meta-pkgs/boost/Makefile.common -.if ${OPSYS} == "OpenBSD" -GCC_REQD+= 4.6 -.elif ${LOWER_VENDOR} == "redhat" -GCC_REQD+= 4.4 -.else -GCC_REQD+= 4.5 -.endif +# libstdc++5 is required to build "math" and "nowide". +GCC_REQD+= 5 .include "../../devel/boost-headers/buildlink3.mk" .endif # BOOST_LIBS_BUILDLINK3_MK diff --git a/meta-pkgs/boost/Makefile.common b/meta-pkgs/boost/Makefile.common index 47754a02c4c..49bf9213263 100644 --- a/meta-pkgs/boost/Makefile.common +++ b/meta-pkgs/boost/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.90 2021/04/21 12:09:50 adam Exp $ +# $NetBSD: Makefile.common,v 1.91 2021/05/27 17:02:24 nia Exp $ # # used by devel/boost-build/Makefile # used by devel/boost-docs/Makefile @@ -42,16 +42,8 @@ USE_LANGUAGES= c c++ .include "../../mk/bsd.prefs.mk" # IMPORTANT: sync this with devel/boost-libs/buildlink3.mk -# GCC 4.5 or later is required to build, and GCC 4.5 is not provided for OpenBSD -. if ${OPSYS} == "OpenBSD" -. if ${MACHINE_ARCH} != "sparc64" -GCC_REQD+= 4.6 -. endif -. elif ${LOWER_VENDOR} == "redhat" -GCC_REQD+= 4.4 -. else -GCC_REQD+= 4.5 -. endif +# libstdc++5 is required to build "math" and "nowide". +GCC_REQD+= 5 PLIST_SUBST+= BOOST_VERSION="${BOOST_VERSION}" |