gtest: fix prefix path in pkgconfig files

This commit is contained in:
Jerome Duval
2021-10-18 11:31:23 +02:00
parent f7ffeb2f8e
commit 666dc853f4

View File

@@ -14,7 +14,7 @@ Features:
HOMEPAGE="https://github.com/google/googletest"
COPYRIGHT="2008-2019 Google Test developers"
LICENSE="BSD (3-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/google/googletest/archive/release-$portVersion.tar.gz"
CHECKSUM_SHA256="9dc9157a9a1551ec7a7e43daea9a694a0bb5fb8bec81235d8a1e6ef64c716dcb"
SOURCE_FILENAME="googletest-release-$portVersion.tar.gz"
@@ -78,6 +78,7 @@ INSTALL()
cd build
make install
sed -i -e "s|prefix=.*|prefix=$prefix|" $libDir/pkgconfig/*.pc
prepareInstalledDevelLibs libgmock libgmock_main libgtest libgtest_main
fixPkgconfig