tech-pkg archive

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

Re: make: Unclosed variable specification for



On Tue, Jan 06, 2009 at 02:10:29AM +1030, Berndt Josef Wulf wrote:
> 
> I worked around the problem after removal of a "\ " that was part of the 
> PKG_USER variable
> 
> PKG_USERS=  ${AVAHI_USER}:${AVAHI_GROUP}::Avahi\ user:/nonexistent

A certain amount of grepping and reading mk/pkginstall/bsd.pkginstall.mk
seems to imply that PKG_USERS is ezpected to be a list <user>:<group>
and that PKG_GECOS.<user> and PKG_HOME.<user> be set for the other fields.

A quick check gives:

$ grep -lr --include '*akefile*' '\<PKG_USERS\>.*:.*\\ ' .
./chat/anope/Makefile
./net/avahi/Makefile
./net/kismet/Makefile
./parallel/sge/Makefile
./sysutils/munin-node/Makefile
./sysutils/munin-server/Makefile

as the only packages that add the gecos field to PKG_USERS.
I don't know if the packages that set PKG_GECOS also fail though.

I will look at strengthening the parser further.

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index