From 0cc313df1ed585716abe3ee97281432b7ead5923 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 23 Sep 2023 08:09:44 +0000 Subject: [PATCH] c_ares, disable tests for gcc2 (#9509) --- net-dns/c_ares/c_ares-1.19.1.recipe | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/net-dns/c_ares/c_ares-1.19.1.recipe b/net-dns/c_ares/c_ares-1.19.1.recipe index af6c9ea69..ef37a6112 100644 --- a/net-dns/c_ares/c_ares-1.19.1.recipe +++ b/net-dns/c_ares/c_ares-1.19.1.recipe @@ -14,7 +14,7 @@ COPYRIGHT="2004-2018 by Daniel Stenberg et al 2012 Marko Kreen 2005 Dominick Meglio" LICENSE="MIT" -REVISION="1" +REVISION="2" SOURCE_URI="https://c-ares.haxx.se/download/c-ares-$portVersion.tar.gz" CHECKSUM_SHA256="321700399b72ed0e037d0074c629e7741f6b2ec2dda92956abe3e9671d3e268e" SOURCE_DIR="c-ares-$portVersion" @@ -69,9 +69,15 @@ defineDebugInfoPackage c_ares$secondaryArchSuffix \ BUILD() { + if [ "$targetArchitecture" = x86_gcc2 ]; then + tests=OFF + else + tests=ON + fi + cmake -Bbuild -S. -DCMAKE_BUILD_TYPE='RelWithDebInfo' \ $cmakeDirArgs \ - -DCARES_BUILD_TESTS=ON \ + -DCARES_BUILD_TESTS=$tests \ -Wno-dev make -C build $jobArgs }