summaryrefslogtreecommitdiff
path: root/system/ripgrep
diff options
context:
space:
mode:
Diffstat (limited to 'system/ripgrep')
-rw-r--r--system/ripgrep/ripgrep.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/ripgrep/ripgrep.SlackBuild b/system/ripgrep/ripgrep.SlackBuild
index 4ede33c3e2..6318a27690 100644
--- a/system/ripgrep/ripgrep.SlackBuild
+++ b/system/ripgrep/ripgrep.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ripgrep
-# Copyright 2017-2020 Andrew Clemons, Wellington New Zealand
+# Copyright 2017-2021 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ripgrep
VERSION=${VERSION:-13.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -141,9 +141,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+PCRE2_SYS_STATIC=0 \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-cargo build --release $CARGOTARGET
+cargo build --features 'pcre2' --release $CARGOTARGET
mkdir -p $PKG/usr/bin/