Created attachment 239445 [details] v1 (apply via "git am") Note, OpenMP is enabled in pngquant package at least on Alpine, Arch, Fedora, Void.
I remember some reports about problems with openmp with base clang in FreeBSD 11/12, perhaps it's better to add this option, but make it default only after 12.x EoL ?
Bug 214877 predates libomp in lib/Makefile which appears since releng/11.3 (base 30c9ca9148bc8), releng/12.1 (base b5893f02214da) and releng/13.0 (base b0840a28f6f66) and predates devel/openmp removal (ports 69a54b62a91f). FreeBSD < 12.2 has been EOL since 2021-01-31 (thus not supported by ports/ tree anymore) while testing 12.* is trivial via poudriere. There should be no issues. Even if base lacks OpenMP support (e.g., 32-bit powerpc) it will bring lang/gcc via USES=compiler:gcc-c++11-lib.
Ok. I will commit your prs shortly.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a722f5607582b5065442d3eefeed9538d359b144 commit a722f5607582b5065442d3eefeed9538d359b144 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2023-01-14 05:42:58 +0000 Commit: Alex Kozlov <ak@FreeBSD.org> CommitDate: 2023-01-14 05:42:58 +0000 graphics/pngquant: enable openmp, unbundle libimagequant - Use graphics/libimagequant instead of bundled version [1] - Re-add OPENMP option, enable it by default [2] PR: 268931 [1] PR: 268932 [2] graphics/pngquant/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)