Created attachment 189166 [details] cryptominisat4.patch The 4.x version is still required by the CVC4 SMT solver.
Thanks for your submission. The port for cryptominisat already exists: math/cryptominisat
(In reply to Yuri Victorovich from comment #1) math/cryptominisat is version 5. This is copied from that port, but with the version rolled back to 4.
What do CVC4 SMT solver maintainers say, why don't they switch to version 5 of cryptominisat?
Ok, I asked them here: https://github.com/CVC4/CVC4/issues/1454
Greg, based on their response cryptominisat5 supportis planned, and might be available next year. If you would like to create a port for CVC4, you can easily bundle cryptominisat4: > USE_GITHUB= yes > GH_TUPLE= msoos:cryptominisat:4.0.0:cryptominisat/bundled/cryptominisat4 > pre-build: > @cd ${WRKSRC}/bundled/cryptominisat4 && ${CMAKE_BIN} -DBUILD_STATIC=ON . && ${MAKE_CMD} ... then you can use the library/headers from ${WRKSRC}/bundled/cryptominisat4 Cheers, Yuri
(In reply to Yuri Victorovich from comment #5) okay. I thought ports were supposed to avoid bundled libraries as much as possible…
(In reply to Greg V from comment #6) Not as much as possible. They should be avoided when ports exist, or easy to create. In this case it's supposedly a temporary situation, and easy to bundle, so instead of creating a temporary port just bundle it for a while. Cheers, Yuri