re2: bump to 2018.04.01, fix TEST. (#2658)

This commit is contained in:
fbrosson
2018-06-06 22:56:25 +00:00
parent d5c05336d5
commit 0eb2783ad0
2 changed files with 5 additions and 4 deletions

View File

@@ -5,7 +5,7 @@ Subject: Haiku patch
diff --git a/Makefile b/Makefile
index d0e2090..e5a2cff 100644
index 6836e06..0b8120c 100644
--- a/Makefile
+++ b/Makefile
@@ -17,8 +17,8 @@ CXX?=g++

View File

@@ -3,12 +3,12 @@ DESCRIPTION="RE2 is a fast, safe, thread-friendly alternative to backtracking \
regular expression engines like those used in PCRE, PERL and Python. It is a \
C++ library."
HOMEPAGE="https://github.com/google/re2"
COPYRIGHT="2009 The RE2 Authors"
COPYRIGHT="2009-2018 The RE2 Authors"
LICENSE="BSD (3-clause)"
REVISION="1"
RE_VERSION="${portVersion//./-}"
SOURCE_URI="https://github.com/google/re2/archive/$RE_VERSION.tar.gz"
CHECKSUM_SHA256="c8ab833081c9766ef4e4d1e6397044ff3b20e42be109084b50d49c161f876184"
CHECKSUM_SHA256="2f945446b71336e7f5a2bcace1abcf0b23fbba368266c6a1be33de3de3b3c912"
SOURCE_FILENAME="re2-$portVersion.tar.gz"
SOURCE_DIR="re2-$RE_VERSION"
PATCHES="re2-$portVersion.patchset"
@@ -71,5 +71,6 @@ INSTALL()
TEST()
{
make check
LIBRARY_PATH="$sourceDir/obj/so${LIBRARY_PATH:+:$LIBRARY_PATH}" \
make test
}