disable building sfa on centos like onelab
authorS.Çağlar Onur <caglar@cs.princeton.edu>
Tue, 4 Jan 2011 19:51:20 +0000 (14:51 -0500)
committerS.Çağlar Onur <caglar@cs.princeton.edu>
Tue, 4 Jan 2011 19:51:20 +0000 (14:51 -0500)
planetlab.mk

index 1734557..a66c33d 100644 (file)
@@ -311,12 +311,20 @@ ifeq "$(DISTRONAME)" "$(filter $(DISTRONAME),f8 centos5)"
 ALL += ejabberd
 endif
 
+# 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