NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/34967 (make(1) let's variables in Makefile override the command line)



The following reply was made to PR bin/34967; it has been noted by GNATS.

From: "Greg A. Woods; Planix, Inc." <woods%planix.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/34967 (make(1) let's variables in Makefile override the 
command line)
Date: Sat, 11 Oct 2008 13:31:35 -0400

 This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
 --Apple-Mail-14-625959710
 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
 Content-Transfer-Encoding: 7bit
 
 FYI, it looks like Apple OS X 10.5.5 bsdmake has an entirely different  
 set of quirks, though it seems to be quite a bit closer to correct:
 
 13:16 [1676] $ bsdmake -f tmp/test.mk COMPILERS="from the command line"
 before:
    via_shell: from the command line
    via_assignment: from the command line
    via_for_loop:  from the command line
 
 after:
    via_shell: from the command line
    via_assignment: from the Makefile
    via_for_loop:  from the command line
 
 direct use:
    from the command line
 13:16 [1677] $ COMPILERS="from the environment" bsdmake -f tmp/test.mk
 before:
    via_shell: from the environment
    via_assignment: from the environment
    via_for_loop:  from the environment
 
 after:
    via_shell: from the Makefile
    via_assignment: from the Makefile
    via_for_loop:  from the Makefile
 
 direct use:
    from the Makefile
 13:17 [1678] $ COMPILERS="from the environment with -e" bsdmake -e -f  
 tmp/test.mk
 before:
    via_shell: from the environment with -e
    via_assignment: from the environment with -e
    via_for_loop:  from the environment with -e
 
 after:
    via_shell: from the environment with -e
    via_assignment: from the Makefile
    via_for_loop:  from the environment with -e
 
 direct use:
    from the environment with -e
 
 
 -- 
                                        Greg A. Woods; Planix, Inc.
                                        <woods%planix.ca@localhost>
 
 
 --Apple-Mail-14-625959710
 content-type: application/pgp-signature; x-mac-type=70674453;
        name=PGP.sig
 content-description: This is a digitally signed message part
 content-disposition: inline; filename=PGP.sig
 content-transfer-encoding: 7bit
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.8 (Darwin)
 
 iD8DBQFI8OL3Zn1xt3i/9H8RAj2wAJwO4gflT83BQJ17If4xgCL15tRDbgCgs6Og
 B0q8jL1LZM9SorhQiZXP47Q=
 =gWE3
 -----END PGP SIGNATURE-----
 
 --Apple-Mail-14-625959710--
 


Home | Main Index | Thread Index | Old Index