tech-userlevel archive

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

Re: make compatibility question

On Sat, 18 Jan 2014, Thomas Klausner wrote:
Does anyone remember why make on NetBSD-5 is unhappy this way:

make: "../../lang/python/../../lang/python/" line 26: 
Malformed conditional (dns == dateutil)

I think it might have to do with bugs in the way .for loop variables are
expanded.  Try assigning each .for loop variable to another variable
using :=, like this:

.for _name _py2dir _py3dir in ${_SUPPORTED_PACKAGES}
name := ${_name}
py2dir := ${_py2dir}
py3dir := ${_py3dir}

Or try using quotes in the .if tests, like this:

.if "${pkg}" == "${name}"

--apb (Alan Barrett)

Home | Main Index | Thread Index | Old Index