Making non-standard OS checks in cmake?

Raphael Kubo da Costa kubito at gmail.com
Fri Jan 1 19:46:12 CET 2010


On Friday 01 January 2010 16:31:30 Albert Astals Cid wrote:
> A Divendres, 1 de gener de 2010, Raphael Kubo da Costa va escriure:
> > Hey there,
> > 
> > As you can see on my.cdash.org, both kdeadmin and kdenetwork fail to
> > build
> > 
> > cleanly on FreeBSD:
> >  * kdeadmin/kuser's CMakeLists.txt's check for the need to link against -
> > 
> > lcrypt is broken on FreeBSD,  since the crypt() function is defined in
> > unistd.h, not crypt.h, even though -lcrypt still must be passed to the
> > compiler
> > 
> >  * kdenetwork/kppp has been broken since FreeBSD 8.0 - currently the
> >  ports
> > 
> > system just disable its build, and I'd like to do the same upstream.
> 
> Why not fixing instead of disabling?

That's the long-term solution :)

I don't have the necessary FreeBSD-specific skills to know what's changed at 
operating system-level and how to fix it, so for now it's better to just 
disable it until someone steps up for the challenge (I've done something 
similar in kinfocenter).


More information about the Kde-buildsystem mailing list