svn commit: r485929 - head/textproc/ripgrep
Jan Beich
jbeich at FreeBSD.org
Mon Nov 26 08:34:53 UTC 2018
Author: jbeich
Date: Mon Nov 26 08:34:51 2018
New Revision: 485929
URL: https://svnweb.freebsd.org/changeset/ports/485929
Log:
textproc/ripgrep: enable PCRE2 support by default
PR: 233317
Approved by: Petteri Valkonen (maintainer)
Modified:
head/textproc/ripgrep/Makefile (contents, props changed)
Modified: head/textproc/ripgrep/Makefile
==============================================================================
--- head/textproc/ripgrep/Makefile Mon Nov 26 08:20:12 2018 (r485928)
+++ head/textproc/ripgrep/Makefile Mon Nov 26 08:34:51 2018 (r485929)
@@ -5,7 +5,7 @@
PORTNAME= ripgrep
DISTVERSION= 0.10.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MAINTAINER= petteri.valkonen at iki.fi
@@ -110,7 +110,8 @@ PLIST_FILES= bin/rg \
PORTDOCS= CHANGELOG.md FAQ.md GUIDE.md
-OPTIONS_DEFINE= DOCS SIMD
+OPTIONS_DEFINE= DOCS PCRE2 SIMD
+OPTIONS_DEFAULT=PCRE2
OPTIONS_DEFINE_amd64= AVX
OPTIONS_DEFINE_i386= AVX
@@ -123,6 +124,10 @@ AVX_DESC= ${SSE_DESC:S/SSE/AVX/}
AVX_VARS= CARGO_FEATURES+=avx-accel RUSTFLAGS+="-C target-feature=+avx"
AVX_IMPLIES= SIMD
+
+PCRE2_DESC= ${PCRE_DESC} version 2
+PCRE2_LIB_DEPENDS= libpcre2-8.so:devel/pcre2
+PCRE2_VARS= CARGO_FEATURES+=pcre2
# simd crate uses cfg_target_feature which isn't stable yet, so unlock
# unstable features similar to how lang/rust bootstraps. www/firefox
More information about the svn-ports-all
mailing list