- make it work with newer SSL
( same hack as in suck, openssh and openssh-portable ) USE_OPENSSL should be improved, see PR: ports/36080 PR: 36080
This commit is contained in:
parent
1e27915908
commit
ef8f6234a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58689
1 changed files with 11 additions and 1 deletions
|
@ -78,9 +78,19 @@ CFLAGS+= -O6 -funroll-loops -fstrength-reduce -fomit-frame-pointer \
|
|||
-fexpensive-optimizations -ffast-math
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 430000 || exists(${LOCALBASE}/lib/libcrypto.so.3)
|
||||
OPENSSLBASE= ${LOCALBASE}
|
||||
OPENSSLDIR= ${OPENSSLBASE}/openssl
|
||||
LIB_DEPENDS+= crypto.3:${PORTSDIR}/security/openssl
|
||||
OPENSSLLIB= ${OPENSSLBASE}/lib
|
||||
OPENSSLINC= ${OPENSSLBASE}/include
|
||||
MAKE_ENV+= OPENSSLLIB=${OPENSSLLIB} OPENSSLINC=${OPENSSLINC} \
|
||||
OPENSSLBASE=${OPENSSLBASE} OPENSSLDIR=${OPENSSLDIR}
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV= CFLAGS='${CFLAGS}' \
|
||||
OPTIM='${OPTIM}' \
|
||||
SSL_BASE='SYSTEM' \
|
||||
SSL_BASE='${OPENSSLBASE}' \
|
||||
EAPI_MM='SYSTEM' \
|
||||
PATH="${PREFIX}/bin:${PATH}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue