From 928c9e470d2fab24c981d7723684fff4d4415711 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 30 Apr 2021 09:46:04 +0200 Subject: community/opensubdiv: disabling CUDA explicitely with -DNO_CUDA=ON --- community/opensubdiv/PKGBUILD | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'community') diff --git a/community/opensubdiv/PKGBUILD b/community/opensubdiv/PKGBUILD index 27a66260..7ee1e57b 100644 --- a/community/opensubdiv/PKGBUILD +++ b/community/opensubdiv/PKGBUILD @@ -1,4 +1,19 @@ +# no CUDA makedepends=( ${makedepends[@]/cuda/} ) pkgdesc+=", without CUDA support" + +eval "$( + declare -f build | \ + sed ' + s/cmake /cmake -DNO_CUDA=ON / + ' +)" + +eval "$( + declare -f prepare | \ + sed ' + /cuda.*patch/d + ' +)" -- cgit v1.2.3-70-g09d2