From 40ca8ea44ef5e182a9e5d75695fe6385fd19c048 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 21 Jan 2015 20:44:40 -0500 Subject: csync: remove seemingly obsolete code --- Library/Formula/csync.rb | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3