aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/liblinear.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/liblinear.rb b/Library/Formula/liblinear.rb
index 2a1537d4d..88448b3fd 100644
--- a/Library/Formula/liblinear.rb
+++ b/Library/Formula/liblinear.rb
@@ -6,10 +6,9 @@ class Liblinear < Formula
sha1 '19678355e6c933b7ec133e07fef77796e50df0d5'
# Fix sonames
- def patches
- { :p0 => [
- "https://trac.macports.org/export/94156/trunk/dports/math/liblinear/files/patch-Makefile.diff"
- ]}
+ patch :p0 do
+ url "https://trac.macports.org/export/94156/trunk/dports/math/liblinear/files/patch-Makefile.diff"
+ sha1 "3eab2f28bd9964bacb515ecc1ce9bea35ad29298"
end
def install