diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-04-16 22:49:00 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-04-16 22:49:00 +0800 |
commit | 62f46a100feb176bee5df01a7839b12fc67513e0 (patch) | |
tree | f1fee4b2fddd415c7856a289f0268f8ed4be8995 | |
parent | 9c142d2c50e251f0773ab1099ae2aeb8e7fa491f (diff) | |
download | freebsd-ports-gnome-62f46a100feb176bee5df01a7839b12fc67513e0.tar.gz freebsd-ports-gnome-62f46a100feb176bee5df01a7839b12fc67513e0.tar.zst freebsd-ports-gnome-62f46a100feb176bee5df01a7839b12fc67513e0.zip |
- ### HEAD UP ### SHLIBVER has been bumped back.
- honor OPENSSH_SHLIBVER if set by user.
- CFLAGS added to esure correct linking
-rw-r--r-- | security/openssl/Makefile | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/security/openssl/Makefile b/security/openssl/Makefile index 057e3d9f1de2..7aa55743d31f 100644 --- a/security/openssl/Makefile +++ b/security/openssl/Makefile @@ -7,6 +7,7 @@ PORTNAME= openssl PORTVERSION= 0.9.7b +PORTREVISION= 1 CATEGORIES= security devel MASTER_SITES= http://www.openssl.org/source/ \ ftp://ftp.openssl.org/source/ \ @@ -23,6 +24,8 @@ COMMENT= SSL and crypto library MAKE_ENV+= MANPREFIX=${MANPREFIX} NOPRECIOUSMAKEVARS= Too many _MLINKS for fetch USE_PERL5_BUILD= yes +OPENSSH_SHLIBVER?= 3 +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 enc.1 gendsa.1 genrsa.1 nseq.1 ocsp.1 openssl.1 \ @@ -827,24 +830,14 @@ PLIST_SUB+= SHARED="@comment " .else PLIST_SUB+= SHARED="" ALL_TARGET= freebsd-shared all -.if exists(/usr/lib/libcrypto.so.2) && !exists(/usr/lib/libcrypto.so.3) -SHLIBVER= 3 -.else -SHLIBVER= 4 -.endif -MAKE_ENV+= SHLIBVER=${SHLIBVER} -PLIST_SUB+= SHLIBVER=${SHLIBVER} +MAKE_ENV+= SHLIBVER=${OPENSSH_SHLIBVER} +PLIST_SUB+= SHLIBVER=${OPENSSH_SHLIBVER} INSTALLS_SHLIB= yes .endif .if defined(OPENSSL_OVERWRITE_BASE) PKGNAMESUFFIX= -overwrite-base PREFIX= /usr -.if exists(/usr/lib/libcrypto.so.2) && !exists(/usr/lib/libcrypto.so.3) -SHLIBVER= 2 -.else -SHLIBVER= 3 -.endif OPENSSLDIR= /etc/ssl MANPREFIX= ${PREFIX}/openssl PLIST_SUB+= MANDIR="" @@ -872,8 +865,8 @@ do-configure: post-install: .if !defined(NOSHARED) .for i in libcrypto libssl - @${INSTALL_DATA} ${WRKSRC}/$i.so.${SHLIBVER} ${PREFIX}/lib - @${LN} -sf $i.so.${SHLIBVER} ${PREFIX}/lib/$i.so + @${INSTALL_DATA} ${WRKSRC}/$i.so.${OPENSSH_SHLIBVER} ${PREFIX}/lib + @${LN} -sf $i.so.${OPENSSH_SHLIBVER} ${PREFIX}/lib/$i.so .endfor .endif .if !defined(NOPORTDOCS) |