mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Fix build on a systems with crypto bits from the /usr/src.
PR: 26645 Submitted by: Mike Buchanon <buchanon@mlss15.cl.msu.edu>
This commit is contained in:
parent
85c36c95da
commit
202b5ccddb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41563
@ -49,7 +49,7 @@ CONFIGURE_ARGS+= --with-openssl=/usr
|
||||
.elif exists(${LOCALBASE}/lib/libssl.a) && exists(${LOCALBASE}/lib/libcrypto.a)
|
||||
LIB_DEPENDS+= ssl.1:${PORTSDIR}/security/openssl
|
||||
CONFIGURE_ARGS+= -with-includes=${LOCALBASE}/include/openssl --with-openssl=${LOCALBASE}
|
||||
CONFIGURE_ENV+= RSAGLUE=-lRSAglue
|
||||
CONFIGURE_ENV+= RSAGLUE="-lrsaref -lRSAglue"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
|
@ -8,7 +8,7 @@ $FreeBSD$
|
||||
|
||||
SSL_DIR_INC="-I${openssl}/include"
|
||||
- SSL_LIBS="-L${openssl}/lib -lssl -lcrypto"
|
||||
+ SSL_LIBS="-L${openssl}/lib -lrsaref -lssl -lcrypto ${RSAGLUE}"
|
||||
+ SSL_LIBS="-L${openssl}/lib -lssl -lcrypto ${RSAGLUE}"
|
||||
fi
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user