mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
qhull: fix install for secondary arch
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user