diff --git a/Formula/gocr.rb b/Formula/gocr.rb index 8eea241f1a6..41429b633fc 100644 --- a/Formula/gocr.rb +++ b/Formula/gocr.rb @@ -10,9 +10,7 @@ class Gocr < Formula depends_on 'netpbm' => :optional # Edit makefile to install libs per developer documentation - def patches - DATA if build.with? "lib" - end + patch :DATA if build.with? "lib" def install system "./configure", "--disable-debug",