Skip to content

Commit

Permalink
MFH: r474443
Browse files Browse the repository at this point in the history
- 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
Sponsored by:	Rubicon Communications, LLC (Netgate)
Approved by:	ports-secteam (miwi)
  • Loading branch information
rbgarga committed Jul 11, 2018
1 parent 4325396 commit 8405696
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions devel/git/Makefile
Expand Up @@ -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} \
Expand Down Expand Up @@ -50,15 +51,18 @@ 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

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
Expand All @@ -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
Expand Down

0 comments on commit 8405696

Please sign in to comment.