Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Jul 2018 13:03:59 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r474443 - head/devel/git
Message-ID:  <201807111303.w6BD3xw4000247@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Wed Jul 11 13:03:59 2018
New Revision: 474443
URL: https://svnweb.freebsd.org/changeset/ports/474443

Log:
  - Fix build with PCRE using --with-pcre1 configure option since git moved
    default --with-pcre to use version 2
  - Add a new OPTION PCRE2 to let it build with devel/pcre2
  - Bump PORTREVISION
  
  PR:		229366
  Submitted by:	mat
  MFH:		2018Q3
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Modified:
  head/devel/git/Makefile

Modified: head/devel/git/Makefile
==============================================================================
--- head/devel/git/Makefile	Wed Jul 11 12:50:15 2018	(r474442)
+++ head/devel/git/Makefile	Wed Jul 11 13:03:59 2018	(r474443)
@@ -3,6 +3,7 @@
 
 PORTNAME=	git
 DISTVERSION=	2.18.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	KERNEL_ORG/software/scm/git
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
@@ -50,8 +51,10 @@ TEST_TARGET=	test
 
 CONFIGURE_ARGS=	--enable-pthreads=-pthread ac_cv_header_libcharset_h=no
 
+OPTIONS_RADIO=	PCRE_VERSION
+OPTIONS_RADIO_PCRE_VERSION=	PCRE PCRE2
 OPTIONS_DEFINE=	GUI SVN GITWEB CONTRIB P4 CVS HTMLDOCS PERL ICONV CURL \
-		SEND_EMAIL NLS PCRE SUBTREE
+		SEND_EMAIL NLS SUBTREE
 OPTIONS_DEFAULT=	CONTRIB P4 CVS PERL GITWEB ICONV CURL SEND_EMAIL PCRE \
 			SUBTREE
 OPTIONS_SUB=	yes
@@ -59,6 +62,7 @@ OPTIONS_SUB=	yes
 GITWEB_DESC=	Install gitweb
 CONTRIB_DESC=	Install contributed scripts
 P4_DESC=	Enable Perforce support
+PCRE2_DESC=	Use Perl Compatible Regular Expressions (v2)
 CVS_DESC=	Enable CVS support
 HTMLDOCS_DESC=	Install additional documentation
 SEND_EMAIL_DESC=Enable the git-send-email(1) script
@@ -77,7 +81,10 @@ GITWEB_IMPLIES=		PERL
 GITWEB_RUN_DEPENDS=	p5-CGI>=0:www/p5-CGI
 
 PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
-PCRE_CONFIGURE_WITH=	libpcre
+PCRE_CONFIGURE_WITH=	libpcre1
+
+PCRE2_LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
+PCRE2_CONFIGURE_WITH=	libpcre
 
 SEND_EMAIL_IMPLIES=	PERL
 SEND_EMAIL_RUN_DEPENDS=	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?201807111303.w6BD3xw4000247>