aboutsummaryrefslogtreecommitdiff
path: root/libraries/libgit2/libgit2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libgit2/libgit2.SlackBuild')
-rw-r--r--libraries/libgit2/libgit2.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/libraries/libgit2/libgit2.SlackBuild b/libraries/libgit2/libgit2.SlackBuild
index 1415b0a664d67..03a124fa8ae13 100644
--- a/libraries/libgit2/libgit2.SlackBuild
+++ b/libraries/libgit2/libgit2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libgit2
-# Copyright 2014-2019 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2014-2020 Larry Hajali <larryhaja[at]gmail[dot]com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libgit2
-VERSION=${VERSION:-0.28.3}
+VERSION=${VERSION:-1.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,7 +75,10 @@ cd build
-DCMAKE_INSTALL_PREFIX:PATH="/usr" \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DUSE_ICONV:BOOL=ON \
+ -DREGEX_BACKEND=pcre \
+ -DUSE_SHA1=HTTPS \
+ -DUSE_HTTPS=OpenSSL \
+ -DUSE_NTLMCLIENT=OFF \
-DLIB_INSTALL_DIR:PATH="lib${LIBDIRSUFFIX}" \
-DCMAKE_BUILD_TYPE=Release ..