Created attachment 197230 [details] tarball including Makefile, distinfo, pkg-descr, pkg-plist opam is the OCaml package manager. opam 2.0.0 was released on 18th September, with opam 1.2.2 marked as deprecated (and there will be no more updates to the 1.2.2 opam repository). I am not the maintainer, but he hasn't used FreeBSD for quite some time (please read https://github.com/ocaml/opam/pull/3444#issuecomment-406301072), and I am happy to take maintainership of ocaml-opam. Attached is a tarball including the new port. I followed the steps from https://www.freebsd.org/doc/en/books/porters-handbook/porting-testing.html, did a portlint, and tested it locally with poudriere (on amd64, FreeBSD-CURRENT). changes since 1.2.2: - configure now checks for curl OR wget (-> curl is a BUILD_DEP now, no longer optional) - camlp4 is no longer needed (removed runtime dependency) - opam 2.0.0 uses gpatch (due to incompatibility in respect to diffs of binaries with BSD patch) -> dependency was added
oh, another change is that aspcud is no longer a runtime dependency since opam 2.0.0 ships with a custom cudf solver.
Created attachment 197236 [details] diff -ur devel/ocaml-opam additionally the files subdirectory needs to be removed (Only in ... in the patch).
(In reply to hannes from comment #0) > - configure now checks for curl OR wget (-> curl is a BUILD_DEP now, no longer optional) this is no longer true in the updated patch -- now --disable-checks is passed to configure, and curl is a runtime dependency instead. fixed portlint warnings as well in the diff (you'll need to svn remove / rm the files subdirectory!)
After applying the patch to the port, "make patch" no longer works. Should files/patch-configure go away?
(In reply to Steve Wills from comment #4) yes, as mentioned in #2 the patch is no longer needed.
A commit references this bug: Author: swills Date: Fri Sep 21 23:03:00 UTC 2018 New revision: 480326 URL: https://svnweb.freebsd.org/changeset/ports/480326 Log: devel/ocaml-opam: update to 2.0.0 While here, pass maintainership to submitter PR: 231477 PR: 231531 Submitted by: hannes@mehnert.org Approved by: joris@giovannangeli.fr (maintainer) Changes: head/devel/ocaml-opam/Makefile head/devel/ocaml-opam/distinfo head/devel/ocaml-opam/files/ head/devel/ocaml-opam/pkg-plist
Committed, thanks!