in reply to OT: mod_perl freebsd port
The makefile should have the paths of the things it wants to find. (perl, the lib directories etc). Changing that should give you what you want. If there is a configure script, it should have an option to specify where these things all live on the configure command line.