From 3828ec6097da00e18c6ef12c85129a77bea83896 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 9 Apr 2020 16:56:10 -0700 Subject: [PATCH] build-system: remove references to long gone support for libgit2 < 0.23 Signed-off-by: Dirk Hohndel --- packaging/OBS/subsurfacedaily.spec | 1 - packaging/ubuntu/debian/rules | 1 - 2 files changed, 2 deletions(-) diff --git a/packaging/OBS/subsurfacedaily.spec b/packaging/OBS/subsurfacedaily.spec index 86c6e150e..f814b26a7 100644 --- a/packaging/OBS/subsurfacedaily.spec +++ b/packaging/OBS/subsurfacedaily.spec @@ -120,7 +120,6 @@ mkdir -p install-root -DLIBGIT2_INCLUDE_DIR=$RPM_BUILD_DIR/install-root/include \ -DLIBDIVECOMPUTER_LIBRARIES=$RPM_BUILD_DIR/install-root/lib/libdivecomputer.a \ -DLIBGIT2_LIBRARIES=$RPM_BUILD_DIR/install-root/lib/libgit2.a \ - -DUSE_LIBGIT23_API=ON \ -DCMAKE_C_FLAGS:STRING="%optflags" \ -DCMAKE_CXX_FLAGS:STRING="%optflags" \ -DNO_PRINTING=OFF \ diff --git a/packaging/ubuntu/debian/rules b/packaging/ubuntu/debian/rules index 7c7c63362..97fa17b6d 100755 --- a/packaging/ubuntu/debian/rules +++ b/packaging/ubuntu/debian/rules @@ -64,7 +64,6 @@ override_dh_auto_configure: -DLIBGIT2_LIBRARIES=$(MY_INSTALL_ROOT)/lib/libgit2.a \ -DLIBDIVECOMPUTER_INCLUDE_DIR=$(MY_INSTALL_ROOT)/include \ -DLIBDIVECOMPUTER_LIBRARIES=$(MY_INSTALL_ROOT)/lib/libdivecomputer.a \ - -DUSE_LIBGIT23_API=1 \ -DFORCE_LIBSSH=1 \ -DNO_PRINTING=OFF \ -DMAKE_TESTS=OFF \