FreeBSD Bugzilla – Attachment 196764 Details for
Bug 231077
devel/boost-libs: build in C++17 mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
v1
boost.c++17.diff (text/plain), 1.53 KB, created by
Jan Beich
on 2018-09-01 15:56:28 UTC
(
hide
)
Description:
v1
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2018-09-01 15:56:28 UTC
Size:
1.53 KB
patch
obsolete
>From 435202b25f5be53e1b59623b6eb87579f97dc908 Mon Sep 17 00:00:00 2001 >From: Jan Beich <jbeich@FreeBSD.org> >Date: Sat, 1 Sep 2018 02:14:47 +0000 >Subject: [PATCH] devel/boost-all: switch to C++17 on FreeBSD >= 11.2 > >PR: 231077 >--- > devel/boost-all/compiled.mk | 5 +++++ > devel/boost-libs/Makefile | 2 +- > devel/boost-python-libs/Makefile | 1 + > 3 files changed, 7 insertions(+), 1 deletion(-) > >diff --git a/devel/boost-all/compiled.mk b/devel/boost-all/compiled.mk >index 65e41f6ddc6e..0d9f794ff3fd 100644 >--- a/devel/boost-all/compiled.mk >+++ b/devel/boost-all/compiled.mk >@@ -4,8 +4,13 @@ MAKE_CMD= bjam > MAKEFILE= # > MAKE_FLAGS= # > ALL_TARGET= stage >+.if exists(/usr/include/c++/v1/__undef_macros) >+USES+= compiler:c++17-lang >+USE_CXXSTD= gnu++17 >+.else > USES+= compiler:c++14-lang > USE_CXXSTD= gnu++14 >+.endif > > PLIST_SUB+= BOOST_SHARED_LIB_VER=${PORTVERSION} > >diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile >index 0759d751a416..89e22a965592 100644 >--- a/devel/boost-libs/Makefile >+++ b/devel/boost-libs/Makefile >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= boost-libs >-PORTREVISION= 0 >+PORTREVISION= 1 > > COMMENT= Free portable C++ libraries (without Boost.Python) > >diff --git a/devel/boost-python-libs/Makefile b/devel/boost-python-libs/Makefile >index 2c260c5b9c68..f7193ced73ef 100644 >--- a/devel/boost-python-libs/Makefile >+++ b/devel/boost-python-libs/Makefile >@@ -2,6 +2,7 @@ > # $FreeBSD$ > > PORTNAME= boost-libs >+PORTREVISION= 1 > COMMENT= Framework for interfacing Python and C++ > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 231077
: 196764