Created attachment 170976 [details] The patch to disable the icsf token support If OpenLDAP is installed, the icsf token (Integrated Cryptographic Service Facility) is built, adding a subdirectory in ${STAGEDIR}/var/run/opencryptoki. The post-install target fails, because ${STAGEDIR}/var/run/opencryptoki is not empty. The attached patch disables the icsf token support, as possible solution.
I did a mess with the maintainer-approval flags, sorry. Obviously, the requestee is hrs@, but I cannot delete the wrong flags.
Comment on attachment 170976 [details] The patch to disable the icsf token support Fixed. :)
A commit references this bug: Author: hrs Date: Fri Jun 10 18:24:09 UTC 2016 New revision: 416685 URL: https://svnweb.freebsd.org/changeset/ports/416685 Log: Fix dependency and build of ICSF token support. The configure script enabled the build when libldap was found. Spotted by: luca.pizzamiglio@gmail.com PR: 209992 Changes: head/security/opencryptoki/Makefile head/security/opencryptoki/files/pkcsslotd.in head/security/opencryptoki/pkg-plist
Fixed, thanks!