Index | Thread | Search

From:
Antoine Jacoutot <ajacoutot@bsdfrog.org>
Subject:
Re: a simple port, but i'm too stupid
To:
Dave Voutila <dv@sisu.io>
Cc:
ports@openbsd.org
Date:
Mon, 4 Aug 2025 10:36:18 +0200

Download raw body.

Thread
On Mon, Aug 04, 2025 at 04:34:49AM -0400, Dave Voutila 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...

You can set PKGNAME.
But there's a libuuid.so in the sysutils/e2fsprogs port.

-- 
Antoine