summaryrefslogtreecommitdiff
path: root/net/powerdns-recursor/options.mk
diff options
context:
space:
mode:
authorghen <ghen>2009-12-23 13:00:41 +0000
committerghen <ghen>2009-12-23 13:00:41 +0000
commit0a8c543cb72b162b4b6ff8f2afc3b7f34d5cb7a6 (patch)
tree3cde31d3a2eed4c78bd031722f5eea563aa9e1af /net/powerdns-recursor/options.mk
parentbbf2ac015074e6ec4e91477a8bc831411a3a15f5 (diff)
downloadpkgsrc-0a8c543cb72b162b4b6ff8f2afc3b7f34d5cb7a6.tar.gz
Add option for Lua scripting support in pdns_recursor,
see http://doc.powerdns.com/recursor-scripting.html Disabled by default, so no revbump.
Diffstat (limited to 'net/powerdns-recursor/options.mk')
-rw-r--r--net/powerdns-recursor/options.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/net/powerdns-recursor/options.mk b/net/powerdns-recursor/options.mk
new file mode 100644
index 00000000000..e532247a68f
--- /dev/null
+++ b/net/powerdns-recursor/options.mk
@@ -0,0 +1,16 @@
+# $NetBSD: options.mk,v 1.1 2009/12/23 13:00:41 ghen Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.powerdns-recursor
+PKG_SUPPORTED_OPTIONS= lua
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Build with Lua scripting support
+###
+.if !empty(PKG_OPTIONS:Mlua)
+MAKE_ENV+= LUA=1
+MAKE_ENV+= LUA_LIBS_CONFIG=-llua
+.include "../../lang/lua/buildlink3.mk"
+.endif
+