aboutsummaryrefslogtreecommitdiff
path: root/net/openntpd
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2016-07-05 19:32:17 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2016-07-05 19:32:17 +0000
commitc1e47d21c1c08cdd080e206e14a806a7e695eb90 (patch)
tree97af22b0143dcbc212bd941d50d16360889bcacd /net/openntpd
parent18288df57bdc40745b4bc02c9b652310159faf88 (diff)
Notes
Diffstat (limited to 'net/openntpd')
-rw-r--r--net/openntpd/Makefile9
1 files changed, 4 insertions, 5 deletions
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 <bsd.port.pre.mk>