diff --git a/net/openntpd/Makefile b/net/openntpd/Makefile index 9563636c8044..6bedca6990fd 100644 --- a/net/openntpd/Makefile +++ b/net/openntpd/Makefile @@ -26,18 +26,17 @@ RESSL_DESC= SSL/TLS support via LibreSSL OPTIONS_DEFAULT= RESSL # Requires libtls from LibreSSL -RESSL_USE= openssl=yes -RESSL_VARS= with_openssl_port=yes +RESSL_USES= ssl RESSL_CONFIGURE_WITH= cacert=${LOCALBASE}/etc/ssl/cert.pem -RESSL_CPPFLAGS= -I${LOCALBASE}/include -RESSL_LDFLAGS= -L${LOCALBASE}/lib +RESSL_CPPFLAGS= -I${OPENSSLINC} +RESSL_LDFLAGS= -L${OPENSSLLIB} RESSL_RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss pre-build: ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \ ${WRKSRC}/src/ntpd.conf.5 ${WRKSRC}/src/ntpd.8 -post-install: +post-stage: cd ${STAGEDIR}${PREFIX}/etc && ${MV} ntpd.conf ntpd.conf.sample .include