aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-09-04 11:05:53 -0500
committerJack Nagel2013-09-04 11:09:13 -0500
commitf0427846d89683dbf8ad376f6086c1808b1b455a (patch)
treeb9a1dc014a2d7e102261a1da18c2df8b62d1961a /Library/Formula
parent41c71cb9f430c1d91a66d42e9e3b43748601810e (diff)
downloadhomebrew-f0427846d89683dbf8ad376f6086c1808b1b455a.tar.bz2
glew: remove glu requirement from pc file
glew adds "Requires: glu" to glew.pc, even though on fresh OS X installs there will not be a glu.pc anywhere on the system (but the library itself is in the system's OpenGL framework). The requirement will actually be satisfied if XQuartz is installed, but it's only a coincidence. So I'm removing this, which should allow gource to build on systems without XQuartz. *shrug* Fixes #22025.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/glew.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Formula/glew.rb b/Library/Formula/glew.rb
index 32bdd8774..44a4cb25b 100644
--- a/Library/Formula/glew.rb
+++ b/Library/Formula/glew.rb
@@ -6,6 +6,7 @@ class Glew < Formula
sha1 'f41b45ca4a630ad1d00b8b87c5f493781a380300'
def install
+ inreplace "glew.pc.in", "Requires: glu", ""
system "make", "GLEW_DEST=#{prefix}", "all"
system "make", "GLEW_DEST=#{prefix}", "install.all"
end