On Tue, 2 Sep 2025 18:48:17 -0400
Josh Grosse <j...@jggimi.net> wrote:

> I've got a WIP version of games/pokerth running well, but 
> there is one dependency check that confuses me:
> 
> ---
> 
> $ make port-lib-depends-check
> 
> pokerth-2025.09.01(games/pokerth):
> Missing lib: protobuf.32 (/usr/local/bin/pokerth_client) (NOT
> REACHABLE) *** Error 1 in target 'port-lib-depends-check' (ignored)

I think there is a disconnect between the protobuf version it's built
with and the one in your ports tree (or mystuff/). The -current version
of libprotobuf is 33.0. Maybe all you need to do is:

cd /usr/ports/devel/protobuf
cvs -q up -d

> 
> ---
> 
> I have protobuf-6.32.0 installed, which includes the library 
> /usr/local/lib/libprotobuf.so.32.0 -- so I assume there's a
> library-spec I don't have right in the Makefile.  The Makefile in the
> attic has both the LDEP and a WANTLIB entry for protobuf.  When I add
> it to the WANTLIB the Missing lib becomes a Bogus WANTLIB.
> 
> Any recommendations for repairing my Makefile?
> 
> ---
> 
> COMMENT =     texas holdem poker client, local or internet games
> 
> DIST_TUPLE =  github jggimi pokerth-openbsd
> d8d49f34ac9f5aafbbc9b97c9efbf96f57c32780 . PKGNAME =
> pokerth-2025.09.01
> 
> CATEGORIES =  games
> 
> MAINTAINER =  Josh Grosse <j...@jggimi.net>
> 
> # GPLv3
> PERMIT_PACKAGE =      Yes
> 
> MODULES =     devel/cmake x11/qt6
> 
> ALL_TARGET =  pokerth_client
> 
> CONFIGURE_ARGS +=     -DCMAKE_INSTALL_PREFIX=${LOCALBASE}
> 
> LIB_DEPENDS +=        devel/sdl devel/sdl-mixer devel/boost,-main
> LIB_DEPENDS +=        security/libgsasl devel/protobuf
> 
> RUN_DEPENDS +=        devel/desktop-file-utils
> 
> WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6Gui Qt6Network Qt6Sql
> WANTLIB += Qt6Widgets Qt6Xml c crypto curl m sqlite3 ssl
> WANTLIB += SDL SDL_mixer boost_atomic-mt boost_filesystem-mt
> boost_iostreams-mt WANTLIB += boost_program_options-mt
> boost_random-mt boost_regex-mt WANTLIB += boost_system-mt
> boost_thread-mt WANTLIB += gsasl boost_system-mt boost_thread-mt
> 
> pre-configure:
>       cd ${WRKSRC} && \
>       protoc --cpp_out=src/third_party/protobuf chatcleaner.proto
> && \ protoc --cpp_out=src/third_party/protobuf pokerth.proto
> 
> .include <bsd.port.mk>
> 

Reply via email to