net/spoofer: Fix build with protobuf 29+

ld: error: undefined symbol: absl::lts_20240722::log_internal::kCharNull
>>> referenced by spoofer-prober.cc
>>>               spoofer-prober.o:(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>* absl::lts_20240722::log_internal::MakeCheckOpString<char const*, void const*>(char const*, void const*, char const*))
c++: error: linker command failed with exit code 1 (use -v to see invocation)

Approved by:	portmgr (blanket)
This commit is contained in:
Po-Chuan Hsieh 2025-01-29 01:25:43 +08:00
parent 68b882ac1f
commit 1f7798494f
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -18,7 +18,9 @@ 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
LDFLAGS+= -labsl_log_internal_check_op \
-labsl_log_internal_message \
-labsl_log_internal_nullguard
USE_CXXSTD= c++17
PORTDOCS= README