Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Nov 2020 21:58:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250408] lang/ocaml - update to 4.11.1
Message-ID:  <bug-250408-7788-aL99exXLxk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250408-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250408-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250408

--- Comment #6 from Greg V <greg@unrelenting.technology> ---
Created attachment 220083
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D220083&action=
=3Dedit
ocaml411.patch - full patch (w/o powerpc)

> Do we even need to pass the AS=3D.. stuff anymore

So we don't, at least on amd64 and aarch64.

---

Here's a more complete version of the patch (not just makefile) with extra
fixes.

- remove all BROKEN, aarch64 works with native codegen now, the others shou=
ld
be fine with just the interpreter
- remove X11 option, the graphics library is not bundled with OCaml anymore
since 4.09!
- change '-no-pthread' to '--disable-systhreads', adjust other things for n=
ew
configure
  - wait, why do we even support building without threads?
- drop spacetime profiler, it will be gone in 4.12
https://github.com/ocaml/ocaml/pull/9948 and we've had some *weird* stuff
around it in the port (defined(NO_PROFILE) || ${ARCH:Mpowerpc} ||
${ARCH:Mamd64} ---- what? it's actually *only* for amd64 but amd64 is exclu=
ded?
also the TMPPLIST thing in post-install??)
- unfortunately I've had to drop all the powerpc64 patches as they don't ap=
ply
anymore (mostly because of directory renames, also because lots of
non-FreeBSD-specific powerpc64 stuff has landed upstream already)

Can the powerpc64 crowd please upstream whatever patches are still necessar=
y??
(Probably mostly just the configure script?)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250408-7788-aL99exXLxk>