summaryrefslogtreecommitdiff
path: root/net/chrony/options.mk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2019-03-10 19:16:46 +0000
committerwiz <wiz@pkgsrc.org>2019-03-10 19:16:46 +0000
commit90f6bc7bd2e77eed5962c596214a3ddfe6eb59c8 (patch)
treed3b48d9210af68898f21dfcea23740f5f7e3c49d /net/chrony/options.mk
parent3e4944aa1ddb754b5e98f38e0678ae6b99761230 (diff)
downloadpkgsrc-90f6bc7bd2e77eed5962c596214a3ddfe6eb59c8.tar.gz
chrony: update to 3.4nb1.
Add default-on nettle option. Requested by Fabien in PR 54042, ok hannken@
Diffstat (limited to 'net/chrony/options.mk')
-rw-r--r--net/chrony/options.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/chrony/options.mk b/net/chrony/options.mk
new file mode 100644
index 00000000000..e595c08146a
--- /dev/null
+++ b/net/chrony/options.mk
@@ -0,0 +1,14 @@
+# $NetBSD: options.mk,v 1.1 2019/03/10 19:16:46 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.chrony
+PKG_SUPPORTED_OPTIONS= nettle
+PKG_SUGGESTED_OPTIONS= nettle
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mnettle)
+USE_TOOLS+= pkg-config
+.include "../../security/nettle/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --without-nettle
+.endif