gmtl: exclude patch when installing from HEAD

-gmtl's svn (HEAD) has an updated SConstruct which doen't need to be patched.
-The patch is still applied when doing "regular install" (gmtl 0.6.1).

Closes Homebrew/homebrew#8002.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Juan Sebastian Casallas 2011-10-06 10:27:45 +02:00 committed by Jack Nagel
parent 0ded4d4ead
commit cf050e8a7f

View file

@ -10,8 +10,9 @@ class Gmtl < Formula
# Build assumes that Python is a framework, which isn't always true. See:
# https://sourceforge.net/tracker/?func=detail&aid=3172856&group_id=43735&atid=437247
# The SConstruct from gmtl's HEAD doesn't need to be patched
def patches
"https://gist.github.com/raw/811405/fix-gmtl-build.diff"
"https://gist.github.com/raw/811405/fix-gmtl-build.diff" unless ARGV.build_head?
end
def install