Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2016 13:01:06 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r419517 - head/devel/git
Message-ID:  <201608031301.u73D168g084039@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Wed Aug  3 13:01:05 2016
New Revision: 419517
URL: https://svnweb.freebsd.org/changeset/ports/419517

Log:
  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

Modified:
  head/devel/git/Makefile   (contents, props changed)

Modified: head/devel/git/Makefile
==============================================================================
--- head/devel/git/Makefile	Wed Aug  3 12:51:26 2016	(r419516)
+++ head/devel/git/Makefile	Wed Aug  3 13:01:05 2016	(r419517)
@@ -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 */*/*.per
 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-
 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



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