--- Makefile 2019-01-31 18:59:50.000000000 +0100 +++ Makefile 2018-11-26 18:59:50.897089000 +0100 @@ -85,7 +85,7 @@ # 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 @@ # 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 @@ ${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