From owner-freebsd-ports Wed Mar 12 0:44:26 2003 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ECD737B401 for ; Wed, 12 Mar 2003 00:44:24 -0800 (PST) Received: from gandalf.online.bg (gandalf.online.bg [217.75.128.9]) by mx1.FreeBSD.org (Postfix) with SMTP id 699C843F75 for ; Wed, 12 Mar 2003 00:44:22 -0800 (PST) (envelope-from roam@ringlet.net) Received: (qmail 21233 invoked from network); 12 Mar 2003 08:39:57 -0000 Received: from office.sbnd.net (HELO straylight.ringlet.net) (217.75.140.130) by gandalf.online.bg with SMTP; 12 Mar 2003 08:39:55 -0000 Received: (qmail 55716 invoked by uid 1000); 12 Mar 2003 08:42:30 -0000 Date: Wed, 12 Mar 2003 10:42:29 +0200 From: Peter Pentchev To: "Philip M. Gollucci" Cc: ports@FreeBSD.org Subject: Re: ECHO Message-ID: <20030312084229.GA7947@straylight.oblivion.bg> Mail-Followup-To: "Philip M. Gollucci" , ports@FreeBSD.org References: <200303120253.07422.philip@p6m7g8.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <200303120253.07422.philip@p6m7g8.net> User-Agent: Mutt/1.5.3i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=windows-1251 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 12, 2003 at 02:53:07AM +0000, Philip M. Gollucci wrote: > bsd.ports.mk > # ECHO is defined in /usr/share/mk/sys.mk, which can either be "echo", > # or "true" if the make flag -s is given. Use ECHO_CMD where you mean = =20 > # the echo command. > ECHO_CMD?=3D echo # Shell builtin >=20 > # Used to print all the '=3D=3D=3D>' style prompts - override this to tur= n them off. > ECHO_MSG?=3D ${ECHO_CMD} >=20 > given that, FreeBSD ports should never actually use ECHO > but instead > ECHO_CMD=20 > right ? If you want to write some information to a file, use ECHO_CMD. If you want to display a message to the user, use ECHO_MSG, so that the user can override it if they want a silent build. The reason for the separation was that previously, there was no need for the user to silence the informative messages without breaking the actually needed uses of 'echo' to write information to files during the build. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@sbnd.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 This sentence no verb. --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+bvL17Ri2jRYZRVMRAs3nAJ9NT86n1F/cXSneIyB/SasD+Vu64gCeO1m+ 3TJfSkCo2YsKs7ZimBqWWtE= =IJTl -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message