Add a PCRE option to allow git grep to be build with pcre support.

tl:dr; git grep -P now works.

Most package managers enable it by default, so enable it by default too.

PR:		211228
Submitted by:	mat, knu
Approved by:	maintainer (or timeout, see PR)
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2016-08-03 13:01:05 +00:00
parent 9771f77f43
commit 2739072011
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=419517

View file

@ -3,6 +3,7 @@
PORTNAME= git
DISTVERSION= 2.9.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= KERNEL_ORG/software/scm/git
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
@ -41,8 +42,8 @@ SHEBANG_FILES= *.perl */*.perl */*/*.perl */*.pl */*/*.pl */*/*/*.pl \
CONFIGURE_ARGS= --enable-pthreads=-pthread ac_cv_header_libcharset_h=no
OPTIONS_DEFINE= GUI SVN GITWEB CONTRIB P4 CVS HTMLDOCS PERL ICONV CURL \
SEND_EMAIL NLS
OPTIONS_DEFAULT= CONTRIB P4 CVS PERL ICONV CURL SEND_EMAIL
SEND_EMAIL NLS PCRE
OPTIONS_DEFAULT= CONTRIB P4 CVS PERL ICONV CURL SEND_EMAIL PCRE
OPTIONS_SUB= yes
GITWEB_DESC= Install gitweb
@ -61,6 +62,9 @@ PERL_BUILD_DEPENDS= p5-Error>=0:lang/p5-Error
PERL_RUN_DEPENDS= p5-Error>=0:lang/p5-Error
PERL_MAKE_ARGS_OFF= NO_PERL=1
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
PCRE_CONFIGURE_WITH= libpcre
SEND_EMAIL_IMPLIES= PERL
SEND_EMAIL_RUN_DEPENDS= p5-Net-SMTP-SSL>=0:mail/p5-Net-SMTP-SSL \
p5-Authen-SASL>=0:security/p5-Authen-SASL