summaryrefslogtreecommitdiff
path: root/sci-mathematics/coq/coq-8.17.1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-16 04:41:57 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-16 04:41:57 +0100
commit668b36c015ae61191cf7d5007b0afdbdcedab441 (patch)
tree2ea72a4f3d3f0cbdf023f218912809157a31ab7d /sci-mathematics/coq/coq-8.17.1.ebuild
parent7a0f8a92967dc1c6eab8d6f66ec476905009a287 (diff)
gentoo auto-resync : 16:07:2023 - 04:41:57
Diffstat (limited to 'sci-mathematics/coq/coq-8.17.1.ebuild')
-rw-r--r--sci-mathematics/coq/coq-8.17.1.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/sci-mathematics/coq/coq-8.17.1.ebuild b/sci-mathematics/coq/coq-8.17.1.ebuild
index f634026e1cda..fb5c53f57eed 100644
--- a/sci-mathematics/coq/coq-8.17.1.ebuild
+++ b/sci-mathematics/coq/coq-8.17.1.ebuild
@@ -110,3 +110,12 @@ src_install() {
einstalldocs
}
+
+pkg_preinst() {
+ # bug https://bugs.gentoo.org/910236
+ if has_version "sci-mathematics/coq:0/8.12.0" && [[ ! -L /usr/lib64/coq ]]
+ then
+ einfo "Removing colliding directory from version 8.12: /usr/lib64/coq"
+ rm -rf /usr/lib64/coq
+ fi
+}