Index | Thread | Search

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

Download raw body.

Thread
On Mon Aug 04, 2025 at 10:36:18AM +0200, Antoine Jacoutot wrote:
> 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.
> 

Yes we end up with two different libuuid in the ports-tree. That's
something that needs to be considered and fixed.