Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0NH7Ll15123 for ; Wed, 23 Jan 2002 12:07:21 -0500 (EST) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g0NH6Pf03383; Wed, 23 Jan 2002 12:06:25 -0500 (EST) To: Brent Verner cc: Peter Eisentraut , Vsevolod Lobko , Murray Prior Hobbs , Lamar Owen , pgsql-hackers@postgresql.org Subject: Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems) In-reply-to: <20020123120150.A8035@rcfile.org> References: <3257.1011804849@sss.pgh.pa.us> <20020123120150.A8035@rcfile.org> Comments: In-reply-to Brent Verner message dated "Wed, 23 Jan 2002 12:01:50 -0500" Date: Wed, 23 Jan 2002 12:06:25 -0500 Message-ID: <3380.1011805585@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200201/1055 X-Sequence-Number: 18039 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. regards, tom lane