mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Add OPSYS to conditional
PR: 243048
This commit is contained in:
parent
f2dfca8106
commit
8d429ad28a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=521941
@ -74,7 +74,7 @@ TLS_CONFIGURE_ON= --with-security-modules=tsm --with-transports=TLSTCP,DTLSUDP
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if (${OSVERSION} >= 1200085 || ${SSL_DEFAULT:Mopenssl*})
|
||||
.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085) || ${SSL_DEFAULT:Mopenssl}
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-openssl11
|
||||
.endif
|
||||
|
||||
@ -249,7 +249,7 @@ post-patch:
|
||||
${WRKSRC}/agent/mibgroup/host/hr_system.c
|
||||
@${REINPLACE_CMD} -E -e 's|return pci_lookup_name|disabled broken|g' \
|
||||
${WRKSRC}/configure
|
||||
.if (${OSVERSION} >= 1200085 || ${SSL_DEFAULT:Mopenssl*})
|
||||
.if (${OPSYS} == FreeBSD && ${OSVERSION} >= 1200085) || ${SSL_DEFAULT:Mopenssl}
|
||||
@${REINPLACE_CMD} -E -e 's|SSL_library_init|OPENSSL_init_ssl|g' \
|
||||
${WRKSRC}/configure
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user