9.2.1-rc1 fails to compile on OpenBSD
The compilation failure in in libraries/base where configure.ac is not able to detect provided libiconv iconv.h file. The patch with explanation is already on a master:
commit 31dc013f Author: Greg Steuck greg@nest.cx Date: Sun Jun 6 22:30:52 2021 -0700
Fix iconv detection in configure on OpenBSD
This regressed in 544414ba604b13e0992ad87e90b8bdf45c43011c causing
configure: error: iconv is required on non-Windows platforms
More details:
https://gitlab.haskell.org/ghc/ghc/-/commit/544414ba604b13e0992ad87e90b8bdf45c43011c#3bae3b74ae866493bd6b79df16cb638a5f2e0f87_106_106
Would be great if this may be cherry picked to 9.2 branch too.