fixed issues with PACKAGESITE definition FreeBSD

This changes the earlier commit. Early testing seems to confirm that this is functional.