git: 871015ac6faf - main - net/spoofer: Fix build with protobuf 22+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Dec 2023 17:03:48 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=871015ac6fafe9fc1c7c11b4a2cbb7259868e7ba commit 871015ac6fafe9fc1c7c11b4a2cbb7259868e7ba Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-12-14 16:23:11 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-12-14 17:03:08 +0000 net/spoofer: Fix build with protobuf 22+ --- net/spoofer/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/spoofer/Makefile b/net/spoofer/Makefile index 6ce59bc229cc..069e41249076 100644 --- a/net/spoofer/Makefile +++ b/net/spoofer/Makefile @@ -14,10 +14,12 @@ BUILD_DEPENDS= protoc:devel/protobuf LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf RUN_DEPENDS= scamper:net/scamper -USES= compiler:c++11-lib +USES= compiler:c++17-lang localbase GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-development --with-protobuf=${LOCALBASE} +LDFLAGS+= -labsl_log_internal_check_op -labsl_log_internal_message +USE_CXXSTD= c++17 PORTDOCS= README