Try symlinking gm4 to WRKDIR/bin/m4
Btw I asked espie@ if he could comment on your src/usr.bin/m4 diff but he's
usually pretty busy at this time of year
--
Sent from a phone, apologies for poor formatting.
On 16 September 2022 16:10:54 Volker Schlecht <openbsd-po...@schlecht.dev>
wrote:
On 9/7/22 22:25, Stuart Henderson wrote:
On 2022/09/07 22:16, Volker Schlecht wrote:
Likewise, an upgrade to 4.14 in ports would be very welcome, and there
should be no blockers.
Here's a draft patch for 4.14.0 that builds and passes all tests on amd64.
I did *not* try and rebuild anything else with it yet! I'm only sending this
because I'm a bit uncertain about what I had to do in
patches/patch-build-aux_ocaml_version_m4 ... seems OpenBSDs m4 doesn't like
'd' types in format strings. Is there any nicer solution for such cases?
The _nicest_ solution would be to add support to src/usr.bin/m4.
(Or you can use gnu m4 in ports ..)
Can you give me a pointer how to get autoconf to use GNU m4?
AUTOCONF_ENV+= M4="${LOCALBASE}/bin/gm4"
doesn't seem to work.
Particularly it seems that setting or changing AUTOCONF_ENV in a
Makefile does seem to do nothing at all to the AUTOCONF_ENV that's
passed to autoconf's environment.
That version issue withstanding, OCaml 4.14 seems to work nicely so far.