```ruby
if build.with? "sasl"
  depends_on "memcached" => "enable-sasl"
else
  depends_on "memcached"
end
```