Index | Thread | Search

From:
David Uhden Collado <david@uhden.dev>
Subject:
Re: [NEW WIP]: net/monero (help needed)
To:
ports@byteskeptical.com
Cc:
ports@openbsd.org
Date:
Fri, 16 Aug 2024 02:51:59 +0200

Download raw body.

Thread
> I've had a local build of the monero repo outside ports for a while now.
Thanks for sharing it! It seems like your Makefile is better crafted 
than mine. Personally, I think that avoiding GitHub when possible is a 
good idea. In the future, there's a chance that GitHub could remove the 
repository against the developers' will, leaving only the server hosting 
the web page as the source for the code.

> Didn't think anyone would be interested but here is my WIP of a port
> that would include all the monero binaries using BSD make. Currently
> running into an issue with the release tar.gz not including the .git*
> directories. This is preventing a submodule update causing the build to
> fail. Working through my options and would be open to suggestions.

I was able to avoid this issue by adding the following configuration to 
CMake:

-DMANUAL_SUBMODULES=1

On the other hand, I think there is no need to go to the trouble of 
patching the Makefile to make it compatible with OpenBSD's 
implementation of make(1). Unfortunately, nowadays it is impossible to 
completely avoid the GNU development tools, for example, even if you 
manage to avoid GNU make (gmake), this port will still use the GNU 
portable assembler as(1), which is included in the base system.

> Eventually I would like to break out the individual binaries into
> FLAVORS. Happy to work on this with you if your interested.
I don't think it is necessary for the end user to have pre-compiled 
binaries for testing. Yes, I am interested, all help is welcome.