Skip to content

Instantly share code, notes, and snippets.

@skord
Created March 6, 2010 21:11
Show Gist options
  • Select an option

  • Save skord/323942 to your computer and use it in GitHub Desktop.

Select an option

Save skord/323942 to your computer and use it in GitHub Desktop.
diff --git a/Library/Formula/dcraw.rb b/Library/Formula/dcraw.rb
index 3a0f0d8..aed4cd4 100644
--- a/Library/Formula/dcraw.rb
+++ b/Library/Formula/dcraw.rb
@@ -3,13 +3,13 @@ require 'formula'
class Dcraw <Formula
head 'http://www.cybercom.net/~dcoffin/dcraw/dcraw.c'
homepage 'http://www.cybercom.net/~dcoffin/dcraw/'
- md5 '122ae8772398a764012e09d15fb9eabc'
+ md5 'cd5cb6e56d5b925c59680abe24b9b03a'
depends_on 'jpeg'
depends_on 'liblcms'
def install
- system "#{ENV.cc} -o dcraw #{ENV['CFLAGS']} dcraw.c -lm -DNO_JPEG -DNO_LCMS"
+ system "#{ENV.cc} -o dcraw #{ENV['CFLAGS']} dcraw.c -lm -ljpeg -llcms"
bin.install 'dcraw'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment