Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2024 17:36:23 +0200 (CEST)
From:      Ronald Klop <ronald-lists@klop.ws>
To:        ports@freebsd.org
Subject:   portlint -> WARN: Makefile: a port shall not define both USE_ANT and USES[+]=gmake
Message-ID:  <324101354.10985.1728401783778@localhost>

next in thread | raw e-mail | index | archive | help
------=_Part_10984_343427873.1728401783758
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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.
 
------=_Part_10984_343427873.1728401783758
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<html><head></head><body>Hi,<br>
<br>
What is advised here?<br>
Again about port devel/jna.<br>
<br>
Portlint says:<br>
WARN: Makefile: a port shall not define both USE_ANT and USES[+]=gmake<br>
<br>
The main build uses ant and that invokes gmake. (AFAIS)<br>
If I move gmake from USES to BUILD_DEPENDS the above WARN is gone, but now portlint gives me:<br>
<br>
WARN: Makefile: dependency to gmake listed in BUILD_DEPENDS. consider using USES[+]=gmake.<br>
<br>
:-)<br>
<br>
What warning do you recommend?<br>
<br>
Regards,<br>
Ronald.<br>
&nbsp;</body></html>
------=_Part_10984_343427873.1728401783758--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?324101354.10985.1728401783778>