--- Makefile.orig 2020-01-02 20:09:37.792578000 +0100 +++ Makefile 2020-01-02 20:33:52.807236000 +0100 @@ -88,7 +88,7 @@ # Need to be patched for openssl-1.1.1 (default after 1200080) .if ${OPSYS} == FreeBSD -. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} != openssl +. if ${OSVERSION} >= 1200085 BUILD_DEPENDS+= automake>=0:devel/automake . endif .endif @@ -98,7 +98,7 @@ # Need to be patched for openssl-1.1.1 (default after 1200080) .if ${OPSYS} == FreeBSD -. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} != openssl +. if ${OSVERSION} >= 1200085 post-configure: @${REINPLACE_CMD} -e "s/automake-1.14/automake-1.16/g" ${WRKSRC}/Makefile ${WRKSRC}/*/Makefile \ ${WRKSRC}/*/*/Makefile @@ -124,7 +124,7 @@ ${INSTALL_DATA} ${WRKSRC}/src/racoon/doc/* ${STAGEDIR}/${DOCSDIR} .if ${OPSYS} == FreeBSD -. if ${OSVERSION} >= 1200085 && ${SSL_DEFAULT} != openssl +. if ${OSVERSION} >= 1200085 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-aclocal.m4 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ipsec-tools PLIST_FILES+= include/racoon/openssl_compat.h