Date: Wed, 29 Apr 2015 19:10:14 -0700 From: Sean Bruno <sbruno@ignoranthack.me> To: ngie@freebsd.org Cc: src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r282260 - head Message-ID: <55418F06.5090100@ignoranthack.me> In-Reply-To: <092A08AC-D733-481E-B207-9276D97B97E0@gmail.com> References: <201504300017.t3U0HXgf032607@svn.freebsd.org> <A7886FC5-6F7B-4B13-AFE0-8BE6A6EB8A83@gmail.com> <55417856.9020109@ignoranthack.me> <246BD160-EB31-48FD-ADBE-526C198C7937@gmail.com> <55417A43.3080704@ignoranthack.me> <092A08AC-D733-481E-B207-9276D97B97E0@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 04/29/15 17:44, Garrett Cooper wrote: > On Apr 29, 2015, at 17:41, Sean Bruno <sbruno@ignoranthack.me> > wrote: > >> Signed PGP part On 04/29/15 17:39, Garrett Cooper wrote: >>> On Apr 29, 2015, at 17:33, Sean Bruno <sbruno@ignoranthack.me> >>> wrote: >>> >>>> Signed PGP part On 04/29/15 17:29, Garrett Cooper wrote: >>>>> This $PATH doesn’t get used though… >>>> >>>> What? As far as I can tell it does. Did I miss something >>>> obvious? Because if the PATH wasn't working, gperf wouldn't >>>> be found and the builds for a native-xtools target would fail >>>> for the gcc ARCH's >>> >>> "PATH=${PATH}:${OBJTREE}/gperf_for_gcc/usr/bin” is a >>> standalone line, without a continuation, so the value should >>> have been executed in a separate shell instance and doesn’t get >>> inherited in the environment following it. Here’s an example: >>> >>> $ make -f r282260.mk A=B echo A is: $A A is: $ cat r282260.mk >>> all: A=B echo A is: $$A $ >>> >>> Cheers! >>> >> >> Like I said, what am I missing if my broken Make-foo can't >> possibly work. Isn't PATH global to the Makefile/ENV or >> something in this contex t? > > Not unless it’s operating in a mode I’m not specifying… > > all: PATH=${PATH}:A echo path is: ${PATH} echo path is: $$PATH > > echo path is: > /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ngi e/bin > > path is: /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ngie/ bin > echo path is: $PATH path is: > /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ngi e/bin > > See r282265 as my attempt to resolve this. sean -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJVQY8DXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5k9v0IAK3GhzuzeFk6JuaVowoPltkk 5XR0ut7dgYeKpQmhRs/c4/8MVCp84t+UDHmfVUGxQNvqz4b5ODuPRtBKQOEvj/SI FUU7aGtR1mM1ymWTJdlYlwBn1tUm53AqvzadVkcQbK4xAAewbjRTiwcO3Impresp gfJ5HXp8Iu4x3XfC7LDBbz2CRzY/ULsKsTjwLrNw2ZFtwsBb2kdC6zUMUw5i/wqa Pzv6KKde4BuZ9jYKuywsOY421Y8DcvhSNMv/Ni1+ckWd3VKH1IsElRqdKgudFkDi L3i9HII4re0nLvyzPbcN5mNeuFbv4u2xikNI7tAp2ESScHUCiC8yQzDlz4EAotk= =oNLo -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55418F06.5090100>