sci-physics/root: drop old workarounds for bundled packages
authorGuilherme Amadio <amadio@gentoo.org>
Thu, 22 Mar 2018 13:12:19 +0000 (14:12 +0100)
committerGuilherme Amadio <amadio@gentoo.org>
Thu, 22 Mar 2018 14:23:34 +0000 (15:23 +0100)
Currently -Dfail-on-missing=ON should be enough to prevent usage of
bundled packages. Also, these workarounds would fail in the next version
bump since the builtins are being restructured upstream.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

sci-physics/root/root-6.12.06-r1.ebuild

index 2369e76b68b9eaecabd9034efc2ca6164fdc454b..1c75f07e2f9e23d449698a371a8034453c3fd6fc 100644 (file)
@@ -138,18 +138,6 @@ pkg_setup() {
 src_prepare() {
        cmake-utils_src_prepare
 
-       # make sure we use system libs and headers
-       rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die
-       rm -r graf2d/asimage/src/libAfterImage || die
-       rm -r graf3d/ftgl/{inc,src} || die
-       rm -r graf2d/freetype/src || die
-       rm -r graf3d/gl/src/gl2ps* || die
-       rm -r graf3d/glew/{inc,src} || die
-       rm -r core/pcre/src || die
-       rm -r math/unuran/src/unuran-*.tar.gz || die
-       rm -r core/lzma/src/*.tar.gz || die
-       LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | xargs -0 rm || die
-
        hprefixify build/CMakeLists.txt core/clingutils/CMakeLists.txt
 
        # CSS should use local images