diff options
author | Olivier Cochard <olivier@FreeBSD.org> | 2019-02-03 21:04:24 +0000 |
---|---|---|
committer | Olivier Cochard <olivier@FreeBSD.org> | 2019-02-03 21:04:24 +0000 |
commit | 8015d5bbf149bdf28c4ad1a7fec296301f04c1aa (patch) | |
tree | 9bcb4a02ce63a4d7042432f74c4bf4cec1b76e2b /security/ipsec-tools | |
parent | 72f4491c41a9e52940aaeab00c2a21d9bc4ae172 (diff) | |
download | ports-8015d5bbf149bdf28c4ad1a7fec296301f04c1aa.tar.gz ports-8015d5bbf149bdf28c4ad1a7fec296301f04c1aa.zip |
Fix build on 12-stable when using OpenSSL from port.
PR: 232169
Submitted by: Michael Grimm <trashcan@ellael.org>
Notes
Notes:
svn path=/head/; revision=492078
Diffstat (limited to 'security/ipsec-tools')
-rw-r--r-- | security/ipsec-tools/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/ipsec-tools/Makefile b/security/ipsec-tools/Makefile index 37e848574223..4223855ea4d8 100644 --- a/security/ipsec-tools/Makefile +++ b/security/ipsec-tools/Makefile @@ -85,7 +85,7 @@ NATT_EXTRA_PATCHES= ${FILESDIR}/natt.diff # Need to be patched for openssl-1.1.1 (default after 1200080) .if ${OPSYS} == FreeBSD -. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base +. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} != openssl BUILD_DEPENDS+= automake>=0:devel/automake . endif .endif @@ -95,7 +95,7 @@ post-patch: # Need to be patched for openssl-1.1.1 (default after 1200080) .if ${OPSYS} == FreeBSD -. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base +. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} != openssl post-configure: @${REINPLACE_CMD} -e "s/automake-1.14/automake-1.16/g" ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile \ ${WRKSRC}/*/*/Makefile @@ -121,7 +121,7 @@ post-install-DOCS-on: ${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${STAGEDIR}/${DOCSDIR} .if ${OPSYS} == FreeBSD -. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} == base +. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} != openssl EXTRA_PATCHES+= ${FILESDIR}/extra-patch-aclocal.m4 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ipsec-tools PLIST_FILES+= include/racoon/openssl_compat.h |