#!/usr/bin/env bash

source "$rvm_scripts_path/functions/requirements/osx_brew"
source "$rvm_scripts_path/functions/requirements/osx_fink"
source "$rvm_scripts_path/functions/requirements/osx_port"
source "$rvm_scripts_path/functions/requirements/smf"

requirements_osx_before()
{
  typeset __type
  for __type in osx_brew osx_port smf osx_fink
  do
    if
      requirements_find_${__type}
    then
      __lib_type=${__type}
      return 0
    fi
  done

  # fallback
  __lib_type=osx_port
}
