Created attachment 171016 [details] USE_OPENSSL for spamd spamd links against libcrypto, but without using USE_OPENSSL it can't link against the preferred SSL implementation. The attached patch fixes this, and bumps PORTREVISION for the dependency change. before: root@lockup:~ # ldd /usr/local/libexec/spamd libcrypto.so.7 => /lib/libcrypto.so.7 (0x800829000) after: root@lockup:~ # ldd /usr/local/libexec/spamd libcrypto.so.37 => /usr/local/lib/libcrypto.so.37 (0x80082b000) The attached patch also includes a couple Makefile tweaks. The bsd.port.options.mk is converted to bsd.port.pre.mk because of USE_OPENSSL, and the PLIST_SUB stuff that's no longer used is removed. Also, the "${INSTALL} -d" is changed to ${MKDIR} so that it's consistent with the ${MKDIR} below it.
A commit references this bug: Author: ohauer Date: Sun Jun 12 17:57:38 UTC 2016 New revision: 416816 URL: https://svnweb.freebsd.org/changeset/ports/416816 Log: - allow build with openssl / libressl from ports - convert PLIST_SUB into SUB_LIST - bump PORTREVISION - small Makefile tweaks PR: 210028 Submitted by: adamw@ Changes: head/mail/spamd/Makefile
Committed, Thanks!