Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2018 08:34:52 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r485929 - head/textproc/ripgrep
Message-ID:  <201811260834.wAQ8YqV2037545@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811260834.wAQ8YqV2037545>