summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl-gentoo@posteo.net>2022-04-09 12:32:02 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-04-18 14:35:10 +0300
commit0dae94fc4b20de9644ee5e2ff1418aa58bb29384 (patch)
tree279f2746d0ea60094f2bccbcd77a7071a2fd4f6f /media-gfx/freecad
parentprofiles/package.mask: Last-rite unused EAPI 6 java libraries (diff)
downloadgentoo-0dae94fc4b20de9644ee5e2ff1418aa58bb29384.tar.gz
gentoo-0dae94fc4b20de9644ee5e2ff1418aa58bb29384.tar.bz2
gentoo-0dae94fc4b20de9644ee5e2ff1418aa58bb29384.zip
media-gfx/freecad: fix install location of shared files
Shared files have been installed into /usr/$(get_libdir)/freecad/share instead of /usr/share. This patch fixes this. Closes: https://bugs.gentoo.org/837173 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/24962 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/freecad')
-rw-r--r--media-gfx/freecad/freecad-0.19.4-r1.ebuild (renamed from media-gfx/freecad/freecad-0.19.4.ebuild)1
1 files changed, 1 insertions, 0 deletions
diff --git a/media-gfx/freecad/freecad-0.19.4.ebuild b/media-gfx/freecad/freecad-0.19.4-r1.ebuild
index fb3ed461c41c..44b0a46fcd71 100644
--- a/media-gfx/freecad/freecad-0.19.4.ebuild
+++ b/media-gfx/freecad/freecad-0.19.4-r1.ebuild
@@ -267,6 +267,7 @@ src_install() {
if ! use headless; then
dosym -r /usr/$(get_libdir)/${PN}/bin/FreeCAD /usr/bin/freecad
+ mv "${ED}"/usr/$(get_libdir)/${PN}/share/* "${ED}"/usr/share || die "failed to move shared resources"
fi
dosym -r /usr/$(get_libdir)/${PN}/bin/FreeCADCmd /usr/bin/freecadcmd