From 95baaa67cd164677d96fbd51d896b036e617ff2e Mon Sep 17 00:00:00 2001 From: fbrosson Date: Sat, 31 Mar 2018 16:01:57 +0000 Subject: [PATCH] curl: define TEST_REQUIRES, as discussed in haikuports/haikuporter#151 --- net-misc/curl/curl-7.59.0.recipe | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/net-misc/curl/curl-7.59.0.recipe b/net-misc/curl/curl-7.59.0.recipe index b92519a1c..afaf42fa3 100644 --- a/net-misc/curl/curl-7.59.0.recipe +++ b/net-misc/curl/curl-7.59.0.recipe @@ -65,16 +65,12 @@ BUILD_PREREQUIRES=" cmd:sed " -TEST_PREREQUIRES=" +TEST_REQUIRES=" cmd:id cmd:perl cmd:sftp_server cmd:sshd " -# The following line does not work, although it has worked in 2016 and/or 2017. -if [ "$recipeAction" = TEST ]; then BUILD_PREREQUIRES+="$TEST_PREREQUIRES"; fi -# Uncomment the following line before the build if you wish to run the tests. -#BUILD_PREREQUIRES+="$TEST_PREREQUIRES" defineDebugInfoPackage curl$secondaryArchSuffix \ $binDir/curl \