>сделал как указано в /usr/ports/UPDATING
>
>portupgrade -f `(pkg_info -R perl-5\* |tail +4; \
>find /usr/local/lib/perl5/site_perl/5.[68].[1245] -type f -print0 \
>| xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*:
>//')|sort -u`
>
>потом
>
>portupgrade -all
>
>
>не помогло
Можно либо в ручную поставить p5-BerkeleyDB
либо подправь в /usr/ports/databases/p5-BerkeleyDB/Makefile
(закоментируй строки)
.if ${OSVERSION} < 500000
BROKEN= Doesn't build on FreeBSD 4.x
.endif
И как написано в Readme
***************************************************
FreeBSD Notes
-------------
On FreeBSD 4.x through 6.x, the default db.h is for version 1. The build
will fail with an error similar to:
BerkeleyDB.xs:74: #error db.h is from Berkeley DB 1.x - need at least
Berkeley DB 2.6.4
Later versions of Berkeley DB are usually installed from ports.
The available versions can be found by running a find(1) command:
% find /usr/local/include -name 'db.h'
/usr/local/include/db3/db.h
/usr/local/include/db4/db.h
/usr/local/include/db41/db.h
/usr/local/include/db42/db.h
/usr/local/include/db43/db.h
The desired version of the library must be specified on the command line or
via the config.in file. Make sure both values point to the same version:
INCLUDE = /usr/local/include/db43
LIB = /usr/local/lib/db43
к написано в Readme
***************************************************