diff options
| author | Jack Nagel | 2015-01-21 20:44:40 -0500 |
|---|---|---|
| committer | Jack Nagel | 2015-01-21 20:44:40 -0500 |
| commit | 40ca8ea44ef5e182a9e5d75695fe6385fd19c048 (patch) | |
| tree | 933c1274df0affadbb0d7b3d9ce744758777abee /Library/Formula/csync.rb | |
| parent | e0b8db09f468c0f3a17971bd52d83027af9046a0 (diff) | |
| download | homebrew-40ca8ea44ef5e182a9e5d75695fe6385fd19c048.tar.bz2 | |
csync: remove seemingly obsolete code
Diffstat (limited to 'Library/Formula/csync.rb')
| -rw-r--r-- | Library/Formula/csync.rb | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/Library/Formula/csync.rb b/Library/Formula/csync.rb index 15bd991f4..9f1327cb9 100644 --- a/Library/Formula/csync.rb +++ b/Library/Formula/csync.rb @@ -25,20 +25,10 @@ class Csync < Formula def install mkdir "build" unless build.head? - cd 'build' do + cd "build" do system "cmake", "..", *std_cmake_args - # We need to run make csync first to make the "core", - # or the build system will freak out and try to link - # modules against core functions that aren't compiled - # yet. We also have to patch "link.txt" for all module - # targets. This should probably be reported upstream. - system "make csync" - inreplace Dir['modules/CMakeFiles/*/link.txt'] do |s| - s.gsub! '-o', "../src/libcsync.dylib ../src/std/libcstdlib.a -o" - end - # Now we can make and install. - system "make all" - system "make install" + system "make", "all" + system "make", "install" end end |
