Received: from candle.pha.pa.us (216-55-132-35.dsl.san-diego.abac.net [216.55.132.35]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0NHLXl24442 for ; Wed, 23 Jan 2002 12:21:33 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id g0NHJnf20674; Wed, 23 Jan 2002 12:19:49 -0500 (EST) From: Bruce Momjian Message-Id: <200201231719.g0NHJnf20674@candle.pha.pa.us> Subject: Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu In-Reply-To: <3380.1011805585@sss.pgh.pa.us> To: Tom Lane Date: Wed, 23 Jan 2002 12:19:49 -0500 (EST) CC: Brent Verner , Peter Eisentraut , Vsevolod Lobko , Murray Prior Hobbs , Lamar Owen , pgsql-hackers@postgresql.org X-Mailer: ELM [version 2.4ME+ PL96 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200201/1061 X-Sequence-Number: 18045 Tom Lane wrote: > Brent Verner writes: > > | Will it not work to do > > | > > | $(shell echo '$(TCL_SHLIB_LD)' | sed ... > > > No. I just tested this, and the $@ still got expanded too early. > > [ scratches head ... ] Where is the expansion happening, then? Seems > weird. > > > We'll need to use the suggested ifeq($(PORTNAME),linux) test. > > I don't much like that since it makes an inappropriate assumption, > viz that if you're on Linux you must have a TCL_SHLIB_LD value that > hasn't got any $variables in it. I'd prefer to figure out *why* we > are getting a premature evaluation. As a data point, now that FreeBSD is showing problems too, I see this on BSD/OS with TCL 8.3 in tclConfig.sh: TCL_SHLIB_LD='cc -shared' Does this mean I don't have the problem here? -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026