From a3c0daf4edfd4ec2f2322db5f0baa1cf905789d9 Mon Sep 17 00:00:00 2001 From: Justin Clift Date: Wed, 26 Dec 2012 20:28:03 +0100 Subject: [PATCH] Add sqlite-devel dependency for Deltacloud master branch. --- bootstrap.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index 1d1cab2..4df0804 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -168,9 +168,18 @@ if [ "$os" = "f16" -o "$os" = "f17" -o "$os" = "el6" ]; then fi fi + # Add Deltacloud build dependencies if needed if [ "x$SETUP_LOCAL_DELTACLOUD_RELEASE" != "x" ]; then depends="$depends bison flex libxslt openssl-devel" depends="$depends readline-devel" + + # If the master branch of Deltacloud is requested, we need + # to add sqlite-devel as a dependency. This is because + # Deltacloud added new deps after 1.0.5: + # https://mail-archives.apache.org/mod_mbox/deltacloud-dev/201212.mbox/browser + if [ "x$SETUP_LOCAL_DELTACLOUD_RELEASE" = "xmaster" ]; then + depends="$depends sqlite-devel" + fi fi # If we have sudo, we're able to install missing dependencies