b) Use mk/bdb.buildlink3.mk. c) Apply official post-1.5.23 patch (changelog unavailable) and bump PKGREVISION.