mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
security/openssl-devel: Align with security/openssl
- Revert to default CPE_VERSION - Rework MAN3 option - Remove remnants of base SHLIBVER_BASE check
This commit is contained in:
parent
2da8a4586f
commit
5f0ad4cc99
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423128
@ -14,7 +14,6 @@ COMMENT= SSL and crypto library (1.1.x)
|
||||
LICENSE= OpenSSL
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
CPE_VERSION= ${PORTVERSION}${DISTVERSIONSUFFIX}
|
||||
CONFLICTS= libressl-[0-9]* \
|
||||
libressl-devel-[0-9]* \
|
||||
openssl-[0-9]*
|
||||
@ -103,10 +102,6 @@ IGNORE= the OpenSSL port can not be installed over the base version
|
||||
OPENSSLDIR?= ${PREFIX}/openssl
|
||||
PLIST_SUB+= OPENSSLDIR=${OPENSSLDIR:S=^${PREFIX}/==}
|
||||
|
||||
OPENSSL_BASE_SONAME!= readlink ${DESTDIR}/usr/lib/libcrypto.so || true
|
||||
OPENSSL_SHLIBVER_BASE= ${OPENSSL_BASE_SONAME:E}
|
||||
OPENSSL_BASE_SOPATH= ${OPENSSL_BASE_SONAME:H}
|
||||
|
||||
.include "version.mk"
|
||||
|
||||
.if ${PORT_OPTIONS:MASM}
|
||||
@ -120,6 +115,10 @@ post-patch:
|
||||
-e 's|$$(LIBDIR)/pkgconfig|libdata/pkgconfig|g' \
|
||||
${WRKSRC}/Configurations/unix-Makefile.tmpl
|
||||
|
||||
post-patch-MAN3-off:
|
||||
${GREP} -L openssl_manual_section ${WRKSRC}/doc/crypto/*.pod | ${XARGS} ${RM}
|
||||
${GREP} -L openssl_manual_section ${WRKSRC}/doc/ssl/*.pod | ${XARGS} ${RM}
|
||||
|
||||
post-configure:
|
||||
${REINPLACE_CMD} \
|
||||
-e 's|$$(SHLIB_MAJOR).$$(SHLIB_MINOR)|${OPENSSL_SHLIBVER}|g' \
|
||||
@ -138,10 +137,6 @@ post-install-SHARED-on:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/engines-1.1/${i}.so
|
||||
.endfor
|
||||
|
||||
post-install-MAN3-off:
|
||||
${RM} -rf ${STAGEDIR}/${PREFIX}/man/man3
|
||||
${REINPLACE_CMD} -e 's|^man/man3/.*||' ${TMPPLIST}
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/openssl
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user