Monday, August 04, 2025

Re: a simple port, but i'm too stupid

On Mon, 04 Aug 2025 04:34:49 -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


Maybe the ossp-uuid package will do and you can set BUILD_DEPENDS =
devel/uuid.

For another port (geo/cdo, not yet committed), I had to specify
--disable-util-linux-uuid --disable-dce-uuid for configure, so that it
would use ossp-uuid. That configure script supports three different
uuid packages.

Marco

No comments:

Post a Comment