From d6782bebdf4e67feea4895077fdbcb7f5ded761c Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 18 Sep 2022 12:38:04 +0200 Subject: community/freecad: removed dependency on ospray and replace med-openmpi with med, also patched for libdl.so wrong shared library --- community/freecad/PKGBUILD | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 community/freecad/PKGBUILD (limited to 'community') diff --git a/community/freecad/PKGBUILD b/community/freecad/PKGBUILD new file mode 100644 index 00000000..57c08078 --- /dev/null +++ b/community/freecad/PKGBUILD @@ -0,0 +1,16 @@ +# ospray is blacklisted +makedepends=(${makedepends[@]//ospray/}) + +# med-openmpi is blacklisted, using plain med instead +depends=(${depends[@]//med-openmpi/}) +depends+=(med) + +# libdl.so does not exist, fast hack to fix it in the generated ninja +# build script +eval "$( + declare -f build | \ + sed ' + /ninja -C build/ i \ + sed -i s'/libdl.so/libdl.so.2/g' build/build.ninja + ' +)" -- cgit v1.2.3-70-g09d2