Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)
Date
Msg-id 3380.1011805585@sss.pgh.pa.us
Whole thread Raw
In response to Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)  (Brent Verner <brent@rcfile.org>)
Responses Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)  (Brent Verner <brent@rcfile.org>)
Re: pltcl build problem on FreeBSD (was: Re: pltlc and  (Peter Eisentraut <peter_e@gmx.net>)
Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)  (Bernhard Herzog <bh@intevation.de>)
List pgsql-hackers
Brent Verner <brent@rcfile.org> 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


pgsql-hackers by date:

Previous
From: Brent Verner
Date:
Subject: Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)
Next
From: "Joe Conway (wwc)"
Date:
Subject: Re: RFD: schemas and different kinds of Postgres objects