nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqnrpu28fpfnmel92j0966qmerzvgq329xvqse4yxd3fqwetlj797spx2hpy (nprofile…2hpy) yeh it's a known problem with only the default mysql/postgresql versions being used for dependencies.
I've had a branch for years that starts to fix this: https://github.com/NetBSD/pkgsrc/compare/trunk...TritonDataCenter:pkgsrc:feature/pbulkmulti/trunk
but it doesn't yet support p5-DBD-postgresql (though wouldn't be too hard to add).