pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/opentracker opentracker: add options.mk forgotten ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bd312365dc56
branches: trunk
changeset: 441984:bd312365dc56
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Nov 16 08:43:13 2020 +0000
description:
opentracker: add options.mk forgotten in previous
diffstat:
net/opentracker/options.mk | 17 +++++++++++++++++
1 files changed, 17 insertions(+), 0 deletions(-)
diffs (21 lines):
diff -r 7d6b3ab15c62 -r bd312365dc56 net/opentracker/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/opentracker/options.mk Mon Nov 16 08:43:13 2020 +0000
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2020/11/16 08:43:13 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.opentracker
+PKG_SUPPORTED_OPTIONS= opentracker-ipv6-only opentracker-restrictions
+PKG_SUGGESTED_OPTIONS= opentracker-restrictions
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mopentracker-ipv6-only)
+CFLAGS+= -DWANT_V6
+.endif
+
+.if !empty(PKG_OPTIONS:Mopentracker-restrictions)
+CFLAGS+= -DWANT_ACCESSLIST_WHITE
+CFLAGS+= -DWANT_RESTRICT_STATS
+DEPENDS+= torrentutils-[0-9]*:../../net/torrentutils
+.endif
Home |
Main Index |
Thread Index |
Old Index