Date: Sun, 07 Dec 2008 11:38:04 -0500 From: Joe Marcus Clarke <marcus@FreeBSD.org> To: java@FreeBSD.org Subject: [Fwd: portlint and USE_ANT] Message-ID: <1228667884.69753.20.camel@shumai.marcuscom.com>
next in thread | raw e-mail | index | archive | help
--=-60xzLscq9zlyKjbKaFHt Content-Type: multipart/mixed; boundary="=-Zwd6mkBZYJiNRzws7uoG" --=-Zwd6mkBZYJiNRzws7uoG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I received this email from a user. Is this the correct change to make to portlint? Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-Zwd6mkBZYJiNRzws7uoG Content-Disposition: inline Content-Description: Forwarded message - portlint and USE_ANT Content-Type: message/rfc822 Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id mB19ecmQ048711 for <marcus@marcuscom.com>; Mon, 1 Dec 2008 04:40:38 -0500 (EST) (envelope-from kamikaze@bsdforen.de) Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id D2C7B14E271 for <marcus@marcuscom.com>; Mon, 1 Dec 2008 09:39:14 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: by hub.freebsd.org (Postfix) id D08A71065673; Mon, 1 Dec 2008 09:39:14 +0000 (UTC) Delivered-To: marcus@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFB461065670 for <marcus@FreeBSD.org>; Mon, 1 Dec 2008 09:39:14 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 5E6388FC24 for <marcus@FreeBSD.org>; Mon, 1 Dec 2008 09:39:14 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (unknown [92.117.182.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 0EEB98A0142 for <marcus@FreeBSD.org>; Mon, 1 Dec 2008 10:07:58 +0100 (CET) Message-ID: <4933A965.7070202@bsdforen.de> Date: Mon, 01 Dec 2008 10:07:49 +0100 From: Dominic Fandrey <kamikaze@bsdforen.de> User-Agent: Thunderbird 2.0.0.18 (X11/20081123) MIME-Version: 1.0 To: marcus@FreeBSD.org Subject: portlint and USE_ANT X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Content-Transfer-Encoding: quoted-printable Portlint issues a FATAL message about USE_ANT for a port of mine: # cd /usr/ports/java/phpeclipse # portlint ./ FATAL: Makefile: USE_ANT is intended only for ports that build with Ant. Y= ou should not override ``do-build'' when defining USE_ANT 1 fatal error and 0 warnings found. In my opinion my use of USE_ANT is correct, though. This is from bsd.java.mk: > USE_ANT > Should be defined when the port uses Apache Ant. Ant is thus > considered to be the sub-make command. When no 'do-build' > target is defined by the port, a default one will be set > that simply runs Ant according to MAKE_ENV, MAKE_ARGS and > ALL_TARGET. Read the documentation in bsd.port.mk for more > information. This explicitly states the possibility of defining your own do-build target. The FATAL error keeps me from running 'port test'. Regards, Dominic --=-Zwd6mkBZYJiNRzws7uoG-- --=-60xzLscq9zlyKjbKaFHt Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkk7++sACgkQb2iPiv4Uz4fX8ACgsMz7YVkG1W/uRfsF6/SFz0QR F6oAn0wsyrlSWs7v+8M+Ehz2MNLCu49w =Sv+t -----END PGP SIGNATURE----- --=-60xzLscq9zlyKjbKaFHt--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1228667884.69753.20.camel>