From acba703654506046f5f9aee0bab376b86cd57b3d Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sat, 2 Feb 2013 15:49:43 -0800 Subject: [PATCH] thrift: add php bindings to caveats Closes Homebrew/homebrew#15937. --- Formula/thrift.rb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Formula/thrift.rb b/Formula/thrift.rb index 8b4e7d020fd..cbf712bb8ae 100644 --- a/Formula/thrift.rb +++ b/Formula/thrift.rb @@ -44,14 +44,16 @@ class Thrift < Formula end def caveats; <<-EOS.undent - Most language bindings were not installed. You may like to do the - following: + To install Python bindings: + pip install thrift + To install Ruby bindings: gem install thrift - easy_install thrift - If anyone figures out the steps to reliably build a set of bindings, please - open a pull request. + To install PHP bindings: + export PHP_PREFIX=/path/to/homebrew/thrift/0.9.0/php + export PHP_CONFIG_PREFIX=/path/to/homebrew/thrift/0.9.0/php_extensions + brew install thrift --with-php EOS end end