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>master
parent
0ded4d4ead
commit
cf050e8a7f
|
@ -10,8 +10,9 @@ class Gmtl < Formula
|
||||||
|
|
||||||
# Build assumes that Python is a framework, which isn't always true. See:
|
# 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
|
# 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
|
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
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
|
|
Loading…
Reference in New Issue