dev-libs/openssl: fix file collision with app-misc/c_rehash
authorJulian Ospald <hasufell@gentoo.org>
Thu, 1 Oct 2015 11:41:38 +0000 (13:41 +0200)
committerJulian Ospald <hasufell@gentoo.org>
Thu, 1 Oct 2015 11:48:04 +0000 (13:48 +0200)
Although we didn't install our c_rehash script, the
default install rules from the openssl build system
installs a perl version, triggering a file collision.

Gentoo-Bug: 561852

dev-libs/openssl/openssl-1.0.2d-r2.ebuild [moved from dev-libs/openssl/openssl-1.0.2d-r1.ebuild with 98% similarity]

similarity index 98%
rename from dev-libs/openssl/openssl-1.0.2d-r1.ebuild
rename to dev-libs/openssl/openssl-1.0.2d-r2.ebuild
index 29aa83c04405cad08ae26efee7e4484c397b1f4f..c7bf2e2b76ddeb558a65e926e7646a7844a969b5 100644 (file)
@@ -199,6 +199,10 @@ multilib_src_install() {
 }
 
 multilib_src_install_all() {
+       # openssl installs perl version of c_rehash by default, but
+       # we provide a shell version via app-misc/c_rehash
+       rm "${ED}"/usr/bin/c_rehash
+
        dodoc CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el
        dohtml -r doc/*
        use rfc3779 && dodoc engines/ccgost/README.gost