Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: UPDATE: add -java subpackage to sysutils/sleuthkit
To:
Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
Cc:
ports <ports@openbsd.org>
Date:
Sat, 19 Sep 2026 20:42:40 +0100

Download raw body.

Thread
On 2026/09/19 19:20, Sebastian Reitenbach wrote:
> Hi,
> 
> On Sat, Sep 19, 2026 at 2:16 PM Stuart Henderson <stu@spacehopper.org> wrote:
> 
>     On 2026/09/19 10:14, Sebastian Reitenbach wrote:
>     > Hi,
>     >
>     > this is my attempt to add -java SUBPACKAGE to sysutils/sleuthkit.
>     > I took graphics/opencv as template.
> 
>     > My only problem is, that the -java SUBPACKAGE depends WANTLIB/LIB_DEPENDS on the -main
>     > SUBPACKAGE.
>     >
>     > with that, I can't easily:
>     >
>     > cd sysutils/sleuthkit && make install
>     >
>     > I have to:
>     > cd sysutils/sleuthkit && FLAVOR=no_java make install && make clean && SUBPACKAGE=-java
>     make
>     > install
>     >
>     > that doesn't look right, I guess dpb won't cope with it, or?
> 
>     Doesn't "make install-all" do it? It shouldn't be an issue for dpb
>     or people installing with pkg_add.
> 
> 
> 
> no, not even with a install-all:
> ...
> ===>  Verifying specs:  bfio m pthread c++ c++abi pthread sqlite3 vhdi vmdk z afflib aio_compat
> crypto curl expat nghttp2 nghttp3 ngtcp2 ngtcp2_crypto_libressl readline ssl ewf vslvm c bfio m
> pthread c++ c++abi pthread sqlite3 vhdi vmdk z afflib aio_compat crypto curl expat nghttp2
> nghttp3 ngtcp2 ngtcp2_crypto_libressl readline ssl ewf vslvm tsk
> Missing library for tsk>=0.0
> Fatal error
> ...

iirc this can bappen if you work on a copy of the port in mystuff
rather than the main dir (or maybe if you work in the main dir
but have an older one in mystuff)