diff --git a/media-libs/qhull/qhull-8.0.2.recipe b/media-libs/qhull/qhull-8.0.2.recipe index 4d47d8454..0c7f819f6 100644 --- a/media-libs/qhull/qhull-8.0.2.recipe +++ b/media-libs/qhull/qhull-8.0.2.recipe @@ -7,7 +7,7 @@ approximations." HOMEPAGE="http://www.qhull.org/" COPYRIGHT="2009-2020 Sony Pictures Imageworks Inc." LICENSE="BSD (3-clause)" -REVISION="1" +REVISION="2" SOURCE_URI="$HOMEPAGE/download/qhull-2020-src-$portVersion.tgz" CHECKSUM_SHA256="b5c2d7eb833278881b952c8a52d20179eab87766b00b865000469a45c1838b7e" SOURCE_DIR="qhull-2020.2" @@ -62,6 +62,9 @@ defineDebugInfoPackage qhull$secondaryArchSuffix \ BUILD() { + sed -i "s|set(PkgConfigLocation.*|set(PkgConfigLocation $relativeLibDir/pkgconfig)|" CMakeLists.txt + sed -i "s|set(ConfigPackageLocation.*|set(ConfigPackageLocation $relativeLibDir/cmake/Qhull)|" CMakeLists.txt + cmake -B build -S . \ $cmakeDirArgs \ -DLINK_APPS_SHARED=ON \