git: 6ff1298e7d42 - main - science/bddsolve: fix build with boost 1.83.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 01 Oct 2023 09:39:29 UTC
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