Suggest making a speedy compile option where one can indicate the location of perl as well as the location of speedy. On OpenBSD perl is located in "/usr/bin/perl" but the package for speedy goes (as do most packages that are not part of standard install) to "/usr/local/bin/speedy". This results in speedy looking for speedy_backend in "/usr/bin/speedy_backend".
To resolve the issue I had to copy speedy and speedy_backend to "/usr/bin". This was fine to get things working, but it breaks the automatic package tracking of where files are installed if something gets removed or updated long after I've forgotten what I did.
If there were optional command line options for compiling speedy that indicated where perl is installed and where speedy should go, it would make it much easier to fix the packaging problem without hacking your code.
By the way, I did read your note on "Install in a Different Directory". Fixing the "src/optdefs" would resolve a majority of my issues. However, I think it is better to have the ability to compile with options rather than having to edit a source file and therefore need to create a patch that could easily break on the next version of SpeedyCGI.
Thanks,
Eric Olsen