FreeBSD Port: Error Upgrading Perl 5.8.9

Usually I perform portupgrade daily on some of my FreeBSD Servers, not all at once of cause. This afternoon I came to a problem when performing upgrade for Perl 5.8.9 The upgrade was failed error show as below;

Somehow it shown BSDPAN.pm is missing, so I try to search for the file;

Try to crave for more information for the file;

File not found, I guess something is wrong with the Perl 5.8.9 Makefile. After a while, I did portsnap fetch update to get latest port tree update.

I guess there were some error with the Makefile, tried to do diff after I got the latest Perl Makefile and previous error Makefile;

Problem fixed after few hours, the BSDPAN_WRKSRC was configured on the wrong path. Hope this mistake won’t happen again 😉