If security/cracklib is already installed on the system then security/apg fails to build with WITH_CRACKLIB turned on because apg depends on file /usr/local/lib/crack.a which is not installed by cracklib. Instead /usr/local/lib/libcrack.a is installed and apg should depend on it. How-To-Repeat: pkg_delete -f /var/db/pkg/apg-* pkg_delete -f /var/db/pkg/cracklib-* cd /usr/ports/security/cracklib && make install clean cd /usr/ports/security/apg && make WITH_CRACKLIB=yes an attempt is made to install cracklib again, coz apg considers it is not installed when /usr/local/lib/crack.a does not exist.
Responsible Changed From-To: freebsd-ports-bugs->roam Over to maintainer
State Changed From-To: open->closed Actually, this would still not be enough, since apg links to the dynamic libcrack.so now. I've moved the library from BUILD_DEPENDS to LIB_DEPENDS. Thanks for pointing out the problem!