diff --git a/net-libs/tox/tox-0.2.18.recipe b/net-libs/tox/tox-0.2.18.recipe index 2042af53e..f40e69bda 100644 --- a/net-libs/tox/tox-0.2.18.recipe +++ b/net-libs/tox/tox-0.2.18.recipe @@ -8,7 +8,7 @@ HOMEPAGE="https://tox.chat/" COPYRIGHT="2013-2022 Tox Project" LICENSE="GNU GPL v3 MIT" -REVISION="2" +REVISION="3" SOURCE_URI="https://github.com/TokTok/c-toxcore/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="1fba883638fd18985fd41acd35fed198c2cdd6e91651eb1c3fe602b610b535fe" SOURCE_DIR="c-toxcore-$portVersion" @@ -40,7 +40,6 @@ PROVIDES=" REQUIRES=" haiku$secondaryArchSuffix lib:libconfig$secondaryArchSuffix - lib:libgtest$secondaryArchSuffix lib:libopus$secondaryArchSuffix lib:libsodium$secondaryArchSuffix lib:libvpx$secondaryArchSuffix @@ -60,7 +59,6 @@ REQUIRES_devel=" BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libconfig$secondaryArchSuffix - devel:libgtest$secondaryArchSuffix devel:libopus$secondaryArchSuffix devel:libsodium$secondaryArchSuffix devel:libvpx$secondaryArchSuffix @@ -77,10 +75,13 @@ BUILD_PREREQUIRES=" BUILD() { cp -r $sourceDir2/cmp-$srcGitRev2/* third_party/cmp - cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ + + cmake -B build -S . -DCMAKE_BUILD_TYPE=Release \ $cmakeDirArgs \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ -DCMAKE_INSTALL_BINDIR=$commandBinDir \ -DUSE_IPV6=OFF + make -C build $jobArgs }