re2: remove -pthread from the pkgconfig file

This commit is contained in:
Jerome Duval
2021-10-16 19:32:07 +02:00
parent d9d4802672
commit 40b5f7c67b

View File

@@ -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