Fails to build when using security/openssl-devel, its looking for /usr/local/lib/libcrypto.so.9. However when the newer openssl-devel (currently openssl 1.10f) is installed there is a /usr/local/lib/libcrypto.so.10 linked to /usr/local/lib/libcrypto.so I worked around it by manually created a /usr/local/lib/libcrypto.so.9 linked to /usr/local/lib/libcrypto.so and it has built fine.
Build successful https://keg.brnrd.eu/data/111amd64-default-openssl110/2018-06-11_10h42m37s/logs/heimdal-7.5.0.log