josegonzalez/homebrew-php — pull request #481 by patrickli (2013-02-26 03:16:29+00:00)
Title: Use opt_prefix instead of prefix

This will remove the dependency on a specific version of libraries.

I noticed that sometimes libraries are upgraded, like gettext or zlib, and older version is removed, php will stop working because it is explicitly depending on the older version.

Using opt_prefix will make the build use the symlinks in /usr/local/opt which points to the current version active.