aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-16 20:22:55 -0500
committerJack Nagel2014-06-16 20:22:55 -0500
commit3fec4c92b6bbfb6efefb12c721e4ab175428a33c (patch)
treebccf095a34d16f8a9d2bfbdb4e79e7836f5cf8fd /Library
parent309823f12d2308026659bf3650e74a60161cf29b (diff)
downloadhomebrew-3fec4c92b6bbfb6efefb12c721e4ab175428a33c.tar.bz2
ncp: use patch DSL
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ncp.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/ncp.rb b/Library/Formula/ncp.rb
index 443c23efa..b2b917113 100644
--- a/Library/Formula/ncp.rb
+++ b/Library/Formula/ncp.rb
@@ -8,9 +8,10 @@ class Ncp < Formula
depends_on "libowfat"
- def patches
- # fixes man and libowfat paths and "strip" command in Makefile
- "https://gist.githubusercontent.com/plumbojumbo/9331146/raw/560e46a688ac9493ffbc1464e59cc062c0940532/GNUmakefile.diff"
+ # fixes man and libowfat paths and "strip" command in Makefile
+ patch do
+ url "https://gist.githubusercontent.com/plumbojumbo/9331146/raw/560e46a688ac9493ffbc1464e59cc062c0940532/GNUmakefile.diff"
+ sha1 "2c187e6c6bfd87b08c9573f97b0d220228d2e14e"
end
def install