aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libpng.rb
diff options
context:
space:
mode:
authorMax Howell2009-10-12 20:48:41 +0100
committerMax Howell2009-10-12 22:41:16 +0100
commitba492ac0e252ec30d66c8d6fa88508cbf07c91ce (patch)
tree9d4efc940f87f91a8e6eb240bc2166f85537b934 /Library/Formula/libpng.rb
parent1831eb28796301acfd0dc0c1c3516d379967e734 (diff)
downloadhomebrew-ba492ac0e252ec30d66c8d6fa88508cbf07c91ce.tar.bz2
Make libpng keg_only
Because OS X provides it and you shouldn't be linking against our version unintentionally.
Diffstat (limited to 'Library/Formula/libpng.rb')
-rw-r--r--Library/Formula/libpng.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/libpng.rb b/Library/Formula/libpng.rb
index be4acec65..b9dae2826 100644
--- a/Library/Formula/libpng.rb
+++ b/Library/Formula/libpng.rb
@@ -5,6 +5,10 @@ class Libpng <Formula
@homepage='http://www.libpng.org/pub/png/libpng.html'
@md5='a2f6808735bf404967f81519a967fb2a'
+ def keg_only?
+ :provided_by_osx
+ end
+
def install
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"