summaryrefslogtreecommitdiff
path: root/news/inn/options.mk
diff options
context:
space:
mode:
authortron <tron>2006-01-04 10:32:40 +0000
committertron <tron>2006-01-04 10:32:40 +0000
commitdf65924cd791b78d28454ec29b46581f91f30c2a (patch)
tree5b54f063126ceda2c06b880ffeeae8bc92059cc4 /news/inn/options.mk
parent7c4d3870b318a53175b26fbddd52a2e864037d7e (diff)
downloadpkgsrc-df65924cd791b78d28454ec29b46581f91f30c2a.tar.gz
Add optional Python support. Based on patches supplied by Anders Mundt Due
in PR pkg/32299.
Diffstat (limited to 'news/inn/options.mk')
-rw-r--r--news/inn/options.mk17
1 files changed, 17 insertions, 0 deletions
diff --git a/news/inn/options.mk b/news/inn/options.mk
new file mode 100644
index 00000000000..c76e3f71fbd
--- /dev/null
+++ b/news/inn/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1 2006/01/04 10:32:40 tron Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.inn
+PKG_SUPPORTED_OPTIONS= python
+PKG_SUGGESTED_OPTIONS=
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Python support for INN
+###
+.if !empty(PKG_OPTIONS:Mpython)
+CONFIGURE_ARGS+= --with-python
+CONFIGURE_ENV+= _PATH_PYTHON=${PYTHONBIN:Q}
+
+.include "../../lang/python/application.mk"
+.endif