This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Add dependencies for --HEAD to abstract-php class

Closes issue #732
  • Loading branch information...
ablyler committed Feb 22, 2014
1 parent 3bedd44 commit 3fb59bcc5317fe247f8999136ba76030a2840909
Showing with 16 additions and 0 deletions.
  1. +7 −0 Formula/abstract-php.rb
  2. +9 −0 README.md
@@ -40,6 +40,13 @@ def self.init
# So PHP extensions don't report missing symbols
skip_clean ['bin', 'sbin']

if build.head?
depends_on 'autoconf' => :build
depends_on 're2c' => :build
depends_on 'flex' => :build
depends_on 'bison27' => :build
end

depends_on 'curl' if build.include?('with-homebrew-curl') || MacOS.version < :lion
depends_on 'freetds' if build.include? 'with-mssql'
depends_on 'freetype'
@@ -85,6 +85,7 @@ this repository.
* [Homebrew](https://github.com/mxcl/homebrew)
* Snow Leopard, Lion, Mountain Lion. Untested everywhere else.
* The homebrew `dupes` tap - `brew tap homebrew/dupes`
* The homebrew `versions` tap - `brew tap homebrew/versions`

## Installation

@@ -94,6 +95,10 @@ Setup the `homebrew/dupes` tap which has dependencies we need:

brew tap homebrew/dupes

Setup the `homebrew/versions` tap which has dependencies we need:

brew tap homebrew/versions

Then, run the following in your commandline:

brew tap josegonzalez/homebrew-php
@@ -104,6 +109,10 @@ Tap the `homebrew/dupes` repository into your brew installation:

brew tap homebrew/dupes

Tap the `homebrew/versions` repository into your brew installation:

brew tap homebrew/versions

Tap the repository into your brew installation:

brew tap josegonzalez/homebrew-php

0 comments on commit 3fb59bc

Please sign in to comment.