The current version of the www/dokuwiki port specifies net/php81-ldap and databases/php81-pdo_mysql as dependencies, although they aren't required for running DokuWiki. Both are only necessary if you want to use the corresponding authentication plugins. Therefore ldap and pdo_mysql should be removed from `USE_PHP=`.