aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJuan Sebastian Casallas2011-10-06 10:27:45 +0200
committerJack Nagel2011-10-08 19:44:45 -0500
commit6bfdea71f0bb68e37ab9a171d66ea828304d7707 (patch)
treed026a984cea8e2713fde8223e398ed3cb245e281 /Library
parent16b27fdc6f8047f0ce998c780e07b11a40fe9263 (diff)
downloadhomebrew-6bfdea71f0bb68e37ab9a171d66ea828304d7707.tar.bz2
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 #8002. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/gmtl.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/gmtl.rb b/Library/Formula/gmtl.rb
index a38bd4899..c43a1ccfe 100644
--- a/Library/Formula/gmtl.rb
+++ b/Library/Formula/gmtl.rb
@@ -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