Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/freecad
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
committerErich Eckner <git@eckner.net>2023-05-22 20:18:50 +0200
commite74cde76c104df82b120a7b13964cb786da8f565 (patch)
tree39967e24037929c04aaf79922aa260b437a60a5e /extra/freecad
parent73e1d3b448cc583ab38cae4d61a26f313fad946b (diff)
community -> extra
Diffstat (limited to 'extra/freecad')
-rw-r--r--extra/freecad/PKGBUILD16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/freecad/PKGBUILD b/extra/freecad/PKGBUILD
new file mode 100644
index 00000000..57c08078
--- /dev/null
+++ b/extra/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
+ '
+)"