portlint -> WARN: Makefile: a port shall not define both USE_ANT and USES[+]=gmake

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Tue, 08 Oct 2024 15:36:23 UTC
Hi,

What is advised here?
Again about port devel/jna.

Portlint says:
WARN: Makefile: a port shall not define both USE_ANT and USES[+]=gmake

The main build uses ant and that invokes gmake. (AFAIS)
If I move gmake from USES to BUILD_DEPENDS the above WARN is gone, but now portlint gives me:

WARN: Makefile: dependency to gmake listed in BUILD_DEPENDS. consider using USES[+]=gmake.

:-)

What warning do you recommend?

Regards,
Ronald.