It seems my patchset message didn't come through... Those are patches from http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/devel/cmake/README.html which look as though they could be applied here. Cheers, Patrick