Index | Thread | Search

From:
Dave Voutila <dv@sisu.io>
Subject:
a simple port, but i'm too stupid
To:
ports@openbsd.org
Date:
Mon, 04 Aug 2025 04:34:49 -0400

Download raw body.

Thread
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