Description: Don't try to build libgit2
Author: Cédric Boutillier <boutil@debian.org>
Last-Update: 2020-10-08

--- a/ext/rugged/extconf.rb
+++ b/ext/rugged/extconf.rb
@@ -69,13 +69,13 @@
   dir_config('git2').any? or pkg_config('libgit2')
 
 
-  try_compile(<<-SRC) or abort "libgit2 version is not compatible"
+#  try_compile(<<-SRC) or abort "libgit2 version is not compatible"
 #include <git2/version.h>
 
 #if LIBGIT2_SOVERSION != 28
 #error libgit2 version is not compatible
 #endif
-  SRC
+#  SRC
 else
   if !find_executable('cmake')
     abort "ERROR: CMake is required to build Rugged."
