On Sun, Jan 31, 2021 at 11:58:40PM -0800, Greg Steuck wrote: > Greg Steuck <[email protected]> writes: > > >> git-annex has at least 50 dependencies I couldn't find in ports, so I > >> want to make sure I understand this before I start porting them one at > >> a time (or just give up)... > > > > This is exactly the problem I want to solve with cabal.port.mk. You > > can try to look at > > https://marc.info/?l=openbsd-ports&m=160858285410366&w=2 > > A quick search in the archives will show the justification and the > > history of the effort. > > > > The current state of the work is I'm waiting on cabal 3.4 official > > release gated by ghc-9.0. I'm also looking for people needing this work > > and your attempt to add git-annex gives me more motivation to finish. > > FWIW, a version of git-annex port that can display its help message: > https://github.com/openbsd/ports/commit/0d970c085441b82f0080afee13e2034e47f475c0
Thanks. I'm currently building it and will try it with my repos. In devel/cabal/Makefile would it make sense to fix the ghc version, i.e: BUILD_DEPENDS += lang/ghc=8.10.3 I quickly discovered cabal won't build with 8.6.4, which is what I have right now, because the port expects ghc-prim-0.6.1 which doesn't match. With the above change, "make build" kicks off a build for ghc-8.10.3 (which I'm now waiting for). > I didn't bother to pare down the dependency list to exclude the test > stuff, so MODCABAL_MANIFEST is twice the length it should be. Hm, I thought git-annex doesn't have test stuff. cabal v2-test doesn't work; the way to test it is to build the binary and run git annex test. Assuming it works and that "git annex test" doesn't show any problems, is there anything else I can do to help with git-annex? I use darcs a fair bit; would it help if I built it on your branch and tested it out? > Thanks > Greg -- James
