From 40b5f7c67b19c639d04e93623a4cef2e2210bcfe Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Sat, 16 Oct 2021 19:32:07 +0200 Subject: [PATCH] re2: remove -pthread from the pkgconfig file --- dev-libs/re2/re2-2019.09.01.recipe | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/re2/re2-2019.09.01.recipe b/dev-libs/re2/re2-2019.09.01.recipe index 9219c3d32..e1af91751 100644 --- a/dev-libs/re2/re2-2019.09.01.recipe +++ b/dev-libs/re2/re2-2019.09.01.recipe @@ -5,7 +5,7 @@ C++ library." HOMEPAGE="https://github.com/google/re2" COPYRIGHT="2009-2018 The RE2 Authors" LICENSE="BSD (3-clause)" -REVISION="2" +REVISION="3" RE_VERSION="${portVersion//./-}" SOURCE_URI="https://github.com/google/re2/archive/$RE_VERSION.tar.gz" CHECKSUM_SHA256="b0382aa7369f373a0148218f2df5a6afd6bfa884ce4da2dfb576b979989e615e" @@ -62,6 +62,7 @@ INSTALL() echo -e "prefix=$prefix\n$(cat $libDir/pkgconfig/re2.pc)" \ > $libDir/pkgconfig/re2.pc + sed -i -e "s/\-pthread//g" $libDir/pkgconfig/re2.pc # prepare develop/lib prepareInstalledDevelLibs libre2 fixPkgconfig