openssh-portable unconditionally sets --with-ssl-dir which prevents /usr/include's contents being overridden. Fix: Don't specify --with-ssl-dir when using the system's openssl. .if ${OPENSSLBASE} != "/usr" CONFIGURE_ARGS+= --with-ssl-dir=${OPENSSLBASE} .endif
State Changed From-To: open->closed Committed, thanks!