Created attachment 249481 [details] correct build with gmake Pn most recent CURRENT with recent ports tree, build of port security/cyrus-sasl2-gssapi fails with error: [...] ===> Building for cyrus-sasl-gssapi-2.1.28 cd /usr/ports/security/cyrus-sasl2-gssapi/work/cyrus-sasl-2.1.28/include && gmake : invalid option -- D The attached patch mitigates the problem (workaround, I did not see a more sophisticated style, patch is taken from other corrected ports with the same issue).
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=05da8f099af396281185eda3208db1c07629a85f commit 05da8f099af396281185eda3208db1c07629a85f Author: Hajimu UMEMOTO <ume@FreeBSD.org> AuthorDate: 2024-03-26 13:31:41 +0000 Commit: Hajimu UMEMOTO <ume@FreeBSD.org> CommitDate: 2024-03-26 13:34:44 +0000 security/cyrus-sasl2: Better usage for gmake. PR: 277955 Reported by: O. Hartmann <ohartmann@walstatt.org> security/cyrus-sasl2/Makefile.common | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
Thanks for your report! I've just fixed it.