turn off building sfa on centos5
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 12 Jun 2010 20:51:58 +0000 (22:51 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Sat, 12 Jun 2010 20:51:58 +0000 (22:51 +0200)
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