Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make has problems w/ pkgsrc

On Tue, Dec 23, 2008 at 09:07:32AM -0500, Greg Troxel wrote:
>   make: "../../mk/configure/../../mk/configure/" line 40: 
> Malformed conditional (${GNU_CONFIGURE_PREFIX} == ${PREFIX})
>   make: "../../mk/configure/../../mk/configure/" line 54: 
> Malformed conditional (${GNU_CONFIGURE_PREFIX} == ${PREFIX})
>   make: Fatal errors encountered -- cannot continue
> I had a similar problem with a GCC variable using pkgsrc on very old
> netbsd (2.0?).  The solution was to define the variable in /etc/mk.conf.
> See if you can find where GNU_CONFIGURE_PREFIX is defined.  If it is
> empty, the syntax will probably be invalid - one reason why people use
> "$foo" in sh programming.
> That said, I don't see why updating to current should cause you problems.

Certainly a make from July generates an error for
.if ${foo} == ${bar}
when one of the variables isn't defined.

So the above may not be related to my recent hacking.


David Laight:

Home | Main Index | Thread Index | Old Index