1
0
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:
Maxim Sobolev 2001-04-17 14:12:33 +00:00
parent 85c36c95da
commit 202b5ccddb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=41563
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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