Permalink
Browse files

scaffold for #2673

  • Loading branch information...
1 parent 3a848c3 commit 25a89feaf393aae5478f6b0c98a7fd6f9105fa03 @mpapis mpapis committed Mar 7, 2014
Showing with 10 additions and 1 deletion.
  1. +10 −1 scripts/functions/requirements/centos
@@ -16,6 +16,11 @@ requirements_centos_lib_available_no_caching()
yum list --quiet "$1" >/dev/null 2>&1 || return $?
}
+requirements_centos_version_list()
+{
+ rpm -q --whatprovides "$1" # TODO https://github.com/wayneeseguin/rvm/issues/2673
+}
+
requirements_centos_libs_install()
{
__rvm_try_sudo yum install -y "$@" || return $?
@@ -113,7 +118,11 @@ Skipping installation of 'libffi-devel', in case you depend on FFI reinstall you
if [[ "${_system_name}" != "Mageia" ]]
then requirements_check glibc-headers
fi
- requirements_check gcc-c++ glibc-devel patch readline readline-devel zlib zlib-devel openssl-devel make bzip2 autoconf automake libtool bison
+ if [[ ${#rvm_patch_names[@]} -gt 0 ]] || [[ "$1" == *"-head" ]]
+ then requirements_version_minimal autoconf 2.67
+ else requirements_check autoconf
+ fi
+ requirements_check gcc-c++ glibc-devel patch readline readline-devel zlib zlib-devel openssl-devel make bzip2 automake libtool bison
;;
esac
}

0 comments on commit 25a89fe

Please sign in to comment.