turn off building sfa on centos5
[build.git] / onelab.mk
index 1d1d78f..4e681ad 100644 (file)
--- a/onelab.mk
+++ b/onelab.mk
@@ -366,12 +366,20 @@ ejabberd-SPEC := ejabberd.spec
 ejabberd-BUILD-FROM-SRPM := yes
 ALL += ejabberd
 
+# sfa now uses the with statement that's not supported on python-2.4 - not even through __future__
+build_sfa=true
+ifeq "$(DISTRONAME)" "centos5"
+build_sfa=false
+endif
+
+ifeq "$(build_sfa)" "true"
 #
 # sfa - Slice Facility Architecture
 #
 sfa-MODULES := sfa
 sfa-SPEC := sfa.spec
 ALL += sfa
+endif
 
 #
 # nodeconfig