diff options
| author | Dougal Sutherland | 2012-06-05 15:18:35 -0400 |
|---|---|---|
| committer | Jack Nagel | 2012-06-07 16:35:36 -0500 |
| commit | 3373b169dda4c2564b7bd59d613d98314fc95843 (patch) | |
| tree | b1cd0abdabcebb929fb1dd2d5732141034ee3b30 /Library/Formula | |
| parent | 484491058c03a5056d19b066710ce09370d130d3 (diff) | |
| download | homebrew-3373b169dda4c2564b7bd59d613d98314fc95843.tar.bz2 | |
LibSVM: remove unneeded inreplace
No longer need to modify Makefile, just rename the .so.
Closes #12606.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libsvm.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/libsvm.rb b/Library/Formula/libsvm.rb index f2f023101..8159ec781 100644 --- a/Library/Formula/libsvm.rb +++ b/Library/Formula/libsvm.rb @@ -6,11 +6,9 @@ class Libsvm < Formula md5 'a1b1083fe69a4ac695da753f4c83ed42' def install - inreplace 'Makefile', '-soname', '-install_name' - inreplace 'Makefile', 'libsvm.so.$(SHVER)', 'libsvm.$(SHVER).dylib' - system "make", "CFLAGS=#{ENV.cflags}" system "make lib" + mv 'libsvm.so.2', 'libsvm.2.dylib' ln_s 'libsvm.2.dylib', 'libsvm.dylib' bin.install 'svm-scale', 'svm-train', 'svm-predict' |
