fixes mod_python
[build.git] / lxc.mk
diff --git a/lxc.mk b/lxc.mk
index 6d9db04..ef21d8a 100644 (file)
--- a/lxc.mk
+++ b/lxc.mk
@@ -244,6 +244,9 @@ bind_public-SPEC := bind_public.spec
 IN_SLICEIMAGE += bind_public
 ALL += bind_public
 
+#
+# sliver-openvswitch
+#
 sliver-openvswitch-MODULES := sliver-openvswitch
 sliver-openvswitch-SPEC := sliver-openvswitch.spec
 IN_SLICEIMAGE += sliver-openvswitch
@@ -257,6 +260,22 @@ plcapi-SPEC := plcapi.spec
 ALL += plcapi
 IN_MYPLC += plcapi
 
+#
+# mod_python
+# 
+# this was dropped in fedora18, at which point the intention has been to
+# move to wsgi instead; however our using wsgi currently looks unstable
+# so you have the option to install this manually, in which case myplc will 
+# swap to using mod_python - see plc.d/httpd
+ifeq "$(DISTRO)" "Fedora"
+ifneq "$(DISTRONAME)" "f16"
+mod_python-MODULES := mod_python
+mod_python-SPEC        := mod_python.spec
+mod_python-BUILD-FROM-SRPM := yes
+ALL += mod_python
+endif
+endif
+
 #
 # drupal
 #