diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-04-16 14:44:05 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-04-16 14:44:05 +0000 |
commit | 2a562c4fbf57a81137042420ac9ca5a9a7e94f4f (patch) | |
tree | e0cd1a853e5a7c83a58196cb366ce111c2a1f016 /security/openssl-beta | |
parent | 773e46a4dc7a3dc6158341ab8db0084d2e0ff2f4 (diff) | |
download | ports-2a562c4fbf57a81137042420ac9ca5a9a7e94f4f.tar.gz ports-2a562c4fbf57a81137042420ac9ca5a9a7e94f4f.zip |
Notes
Diffstat (limited to 'security/openssl-beta')
-rw-r--r-- | security/openssl-beta/Makefile | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/security/openssl-beta/Makefile b/security/openssl-beta/Makefile index 7de92dbfdf0c..c28eb61d4f67 100644 --- a/security/openssl-beta/Makefile +++ b/security/openssl-beta/Makefile @@ -10,6 +10,7 @@ PORTNAME= openssl PORTREVISION!= date -v-1d +%Y%m%d .else PORTVERSION= 0.9.7b +PORTREVISION= 1 .endif CATEGORIES= security devel .ifdef OPENSSL_SNAPSHOT @@ -38,6 +39,8 @@ COMMENT= SSL and crypto library NOPRECIOUSMAKEVARS= Too many _MLINKS for fetch NO_LATEST_LINK= yes USE_PERL5_BUILD= yes +OPENSSL_SHLIBVER?= 4 +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 \ @@ -842,24 +845,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=${OPENSSL_SHLIBVER} +PLIST_SUB+= SHLIBVER=${OPENSSL_SHLIBVER} INSTALLS_SHLIB= yes .endif .if defined(OPENSSL_OVERWRITE_BASE) PKGNAMESUFFIX= -beta-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="" @@ -889,8 +882,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.${OPENSSL_SHLIBVER} ${PREFIX}/lib + @${LN} -sf $i.so.${OPENSSL_SHLIBVER} ${PREFIX}/lib/$i.so .endfor .endif .if !defined(NOPORTDOCS) |