Re: In some places, WITH_${feature}_PORTS doesn't work

From: Tatsuki Makino <tatsuki_makino_at_hotmail.com>
Date: Thu, 11 Apr 2024 21:31:45 UTC
Gleb Popov wrote on 2024/04/12 02:57:
> Should be fixed now by
> https://cgit.FreeBSD.org/ports/commit/?id=665b0219e541019b849fd5a1efdf032081dcf610

Thank you very much.

This would mean that there is more support for the use of _WITH_${feature} and _WITHOUT_${feature} in the future.
It is expected that an underscore should be added before the variable WITH, i.e., if the following part is present in individual ports.

.include <bsd.port.pre.mk>
.ifdef _WITH_DEBUG
.error exit by make conditional because _WITH_DEBUG is defined
.endif
.include <bsd.port.post.mk>

Let's leave the search for such ports to those who have thought to debug them :)

Regards.