Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Oct 2023 09:39:29 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6ff1298e7d42 - main - science/bddsolve: fix build with boost 1.83.0
Message-ID:  <202310010939.3919dTB6009185@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ff1298e7d42585a58adddcaf119acec8bda4a39

commit 6ff1298e7d42585a58adddcaf119acec8bda4a39
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-09-29 20:00:29 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-10-01 09:39:18 +0000

    science/bddsolve: fix build with boost 1.83.0
    
    /usr/local/include/boost/timer.hpp:21:3: error: This header is deprecated and will be removed. (You can define BOOST_TIMER_ENABLE_DEPRECATED to suppress this error.)
---
 science/bddsolve/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/science/bddsolve/Makefile b/science/bddsolve/Makefile
index 275126805d01..b258de57ea47 100644
--- a/science/bddsolve/Makefile
+++ b/science/bddsolve/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS+=	libbdd.so:science/buddy \
 
 USES=		compiler:c++11-lang zip
 NO_WRKSUBDIR=	yes
-CFLAGS+=	-I${LOCALBASE}/include -I${WRKSRC}/include
+CFLAGS+=	-I${LOCALBASE}/include -I${WRKSRC}/include -DBOOST_BIND_GLOBAL_PLACEHOLDERS -DBOOST_TIMER_ENABLE_DEPRECATED
 LDFLAGS+=	-L${LOCALBASE}/lib -lbdd -lboost_program_options
 
 OPTIONS_DEFINE=	EXAMPLES



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310010939.3919dTB6009185>