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 3759.1011809127@sss.pgh.pa.us
Whole thread Raw
In response to Re: pltcl build problem on FreeBSD (was: Re: pltlc and  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Tom Lane writes:
>> [ scratches head ... ]  Where is the expansion happening, then?  Seems
>> weird.

> The $@ is expanded as a make variable.  Make does care whether you're
> executing a $(shell) thing around it.  However, it seems that $@ should
> expand to nothing in that assignment, so where's the problem?

I think the complaint is that we need it to still look like $@ when
TCL_SHLIB_LD is used in the shlib-building rule.  If Make recursively
expands the variable before executing the $shell construct then we
got trouble.

Ugly as it is, the check on portname may be the best solution available.
I'm gonna think a little more, but I haven't got a better idea now.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)
Next
From: teg@redhat.com (Trond Eivind Glomsrød)
Date:
Subject: autoconf + newer gcc barfs