diff options
Diffstat (limited to 'security/openssh')
-rw-r--r-- | security/openssh/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 5a91e4bc6f33..a449e9bb666d 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -32,10 +32,10 @@ FIXME= lib/Makefile scp/Makefile sftp/Makefile sftp-server/Makefile \ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 430000 -OPENSSLBASE= /usr/local +.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3) +OPENSSLBASE= ${LOCALBASE} OPENSSLDIR= ${OPENSSLBASE}/openssl -LIB_DEPENDS+= crypto.2:${PORTSDIR}/security/openssl +LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl OPENSSLLIB= ${OPENSSLBASE}/lib OPENSSLINC= ${OPENSSLBASE}/include MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \ |