Rakefile in xapian-ruby-1.4.16 vs Rakefile in xapian-ruby-1.4.17
- old
+ new
@@ -24,15 +24,17 @@
ENV['LDFLAGS'] = "-L#{prefix}/lib"
system! "mkdir -p lib"
Dir.chdir core do
+ system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix}"
system! "make clean all"
system! "cp -r .libs/* ../lib/"
end
Dir.chdir bindings do
+ system! 'sed -i".bak" -e "s/darwin\\[91\\]/darwin[912]/g" configure'
ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
ENV['XAPIAN_CONFIG'] = xapian_config
system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby"
system! "make clean all"
end