pkgsrc is certainly complicated... Given that it works now, I don't really know how to debug. Often there are odd things in the environment that cause problems and then they go away. So without a repro recipe there is not too much to do.
Attachment:
signature.asc
Description: PGP signature