Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2002 11:01:04 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Alex Semenyaka <alexs@ratmir.ru>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: make(1) command-line variables
Message-ID:  <20020419080103.GH53150@sunbay.com>
In-Reply-To: <20020418202045.GA407@snark.ratmir.ru>
References:  <20020413141834.GA16339@snark.ratmir.ru> <001901c1e2fe$2b64c740$1200a8c0@gsicomp.on.ca> <20020413171226.GD18143@snark.ratmir.ru> <20020418143101.GC70982@sunbay.com> <20020418202045.GA407@snark.ratmir.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

--U3BNvdZEnlJXqmh+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Apr 19, 2002 at 12:20:45AM +0400, Alex Semenyaka wrote:
> Hi there,=20
>=20
> On Thu, Apr 18, 2002 at 05:31:01PM +0300, Ruslan Ermilov wrote:
> >> make VAR=3DVAL	# .MAKEFLAGS is empty
> >> make -DVAR	# .MAKEFLAGS is '-D VAR'
> > Heh, was looking at this NetBSD commitlog today looking for another
> > thing.  They apparently have this bug fixed as well, in the step 3
> > below:
> :: 3. Variables set via command line, are propagated to child-makes via
> ::    MAKEFLAGS.  This behaviour appears to be necessary for POSIX (accor=
ding
> ::    to the GNU folk anyway).
>=20
> So what will The Right Thing be:
>  - to take ``make'' from NetBSD
>  - to transfer corresponding changes from NetBSD
>  - to re-make my patch (to store the command line variables in MAKEFLAGS,
>    not in the new variable)?
>=20
The second, in a form of the patch for FreeBSD -CURRENT would be preferable.


Cheers,
--=20
Ruslan Ermilov		Sysadmin and DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

--U3BNvdZEnlJXqmh+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE8v86/Ukv4P6juNwoRAvJbAJ9rQfeEWwlvxbATZxz8bZNpZ6B1DACePTF+
VLmgyf93DJ6x4aa2h5KZPas=
=sctV
-----END PGP SIGNATURE-----

--U3BNvdZEnlJXqmh+--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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