devel/apr1 declares a minimum required BDB version of 42+
This matches on db42 which is deprecated and not on a higher version. Simply installed db48 "works" here on head for me and allows www/apache22 -> devel/apr1 to install again.
Fix: preinstall databases/db48 or change the following line in the port Makefile:
How-To-Repeat: attempt to install devel/apr1 with default options.
===>>> Port directory: /usr/ports/devel/apr1
===>>> Gathering distinfo list for installed ports
===>>> Launching 'make checksum' for devel/apr1 in background
===>>> Gathering dependency list for devel/apr1 from ports
===>>> Launching child to install databases/db42
===>>> devel/apr1 >> databases/db42 (1/1)
===>>> Port directory: /usr/ports/databases/db42
===>>> This port is marked DEPRECATED
===>>> Please use databases/db5 or db6 for new installs.
===>>> If you are sure you can build it, remove the
DEPRECATED line in the Makefile and try again.
===>>> Update for databases/db42 failed
===>>> Aborting update
===>>> Killing background jobs
Over to maintainer (via the GNATS Auto Assign Tool)
Committed together with an update of devel/apr1.