- fix shared lib path

Force libssl.so to loads the match libcrypto.so.
The old fix was not working with 0.9.7

This should help ports linking to openssl from ports in FreeBSD 7.1 and above.
This commit is contained in:
Dirk Meyer 2009-02-23 13:03:10 +00:00
parent c8a2a27107
commit 5269bfb809
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228897

View File

@ -7,6 +7,7 @@
PORTNAME= openssl
PORTVERSION= 0.9.8j
PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= http://www.openssl.org/%SUBDIR%/ \
ftp://ftp.openssl.org/%SUBDIR%/ \
@ -27,10 +28,10 @@ BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
EXTRACONFIGURE+= enable-camellia
MAKE_ARGS+= WHOLE_ARCHIVE_FLAG=--whole-archive
MAKE_ENV+= LIBRPATH="${PREFIX}/lib"
NOPRECIOUSMAKEVARS= Too many _MLINKS for fetch
NOPRECIOUSSOFTMAKEVARS= Too many _MLINKS for fetch
USE_PERL5_BUILD= yes
CFLAGS+= -Wl,-rpath,${LOCALBASE}/lib
MAN1= CA.pl.1 asn1parse.1 ca.1 ciphers.1 crl.1 crl2pkcs7.1 dgst.1 dhparam.1 \
dsa.1 dsaparam.1 ec.1 ecparam.1 enc.1 errstr.1 gendsa.1 genrsa.1 \