Yes, I've tried that. Continues to give the same exact error message no matter what I do. After inspecting /usr/ports/Mk/bsd.port.mk, it looked like I could add PERL=/usr/local/bin/perl and PERL5=/usr/local/bin/perl. Doesn't change anything though, same error.