Created attachment 154928 [details] svn diff for net/mosquitto net/mosquitto fails to detect PSK correctly as it can be disabled and is removed from LibreSSL. This patch adds a check on OPENSSL_NO_PSK.
Created attachment 154929 [details] Poudriere build log for net/mosquitto
I am unable to test, so if the patch successfully works for the scenario given and does not break a "normal" build - then it is acceptable. Thanks!
Take it, will send a new PR for updating to 1.4.2
A commit references this bug: Author: ohauer Date: Sun May 10 18:06:02 UTC 2015 New revision: 385971 URL: https://svnweb.freebsd.org/changeset/ports/385971 Log: - fix build with LibreSSL [1] - install manpages into correct MANDIR - do not run ldconfig in stagedir! - adjust files/patch names so makepatch can be used in future - bump PORTREVISION PR: 198988 [1] Submitted by: Bernard Spil Approved by: joe _at_ thrallingpenguin.com (maintainer) Changes: head/net/mosquitto/Makefile head/net/mosquitto/files/patch-CMakeList.txt head/net/mosquitto/files/patch-CMakeLists.txt head/net/mosquitto/files/patch-config.mk head/net/mosquitto/files/patch-etc-mosquitto.conf.example head/net/mosquitto/files/patch-lib-tls_mosq.h head/net/mosquitto/files/patch-lib_tls__mosq.h head/net/mosquitto/files/patch-mosquitto.conf head/net/mosquitto/files/patch-src-CMakeList.txt head/net/mosquitto/files/patch-src_CMakeLists.txt head/net/mosquitto/pkg-plist
Committed together with some cleanups (manpages, ldconfig ...)