Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: a simple port, but i'm too stupid
To:
Dave Voutila <dv@sisu.io>, <ports@openbsd.org>
Date:
Tue, 05 Aug 2025 12:07:15 +0100

Download raw body.

Thread
You can probably just BUILD_DEPENDS on sysutils/e2fsprogs, I think that's 
basically the same uuid library as in utils-linux.

Alternatively you can often patch to use the uuid functions we have in libc 
without too much trouble.

-- 
  Sent from a phone, apologies for poor formatting.

On 4 August 2025 09:35:06 Dave Voutila <dv@sisu.io> wrote:

> While hacking on EDK2 stuff, to build it natively on OpenBSD requires a
> uuid library that's part of some linux project calls utils-linux. 95% or
> more of the stuff in that project is useless to OpenBSD and I just need
> the libuuid stuff, so porting all of "utils-linux" is overkill.
>
> Where I'm stuck is getting the ports system to deal with a port not
> named after the distfile in any way. Maybe someone here can create a
> Makefile without even trying :D
>
> Building libuuid is simple:
>
> 1. fetch
> https://www.kernel.org/pub/linux/utils/util-linux/v2.41/util-linux-2.41.1.tar.gz
>
> 2. unpack it
>
> 3. configure with:
> ./configure --disable-all-programs --enable-libuuid \
>  --local-prefix=/usr/local
>
> 4. make install
>
> Help me obiwan kenobi...
>
> -dv