summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl@gmail.com>2020-10-17 16:50:51 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-10-26 12:14:53 +0200
commitba489315ed494b0038ea44fbf2ccff8c420a1a58 (patch)
tree728ed3b9daae3ab4d83c152d5ac4bc6bcc241824 /sci-libs/opencascade
parentnet-mail/swaks: ebuild cleaning on 20201014.0 (diff)
downloadgentoo-ba489315ed494b0038ea44fbf2ccff8c420a1a58.tar.gz
gentoo-ba489315ed494b0038ea44fbf2ccff8c420a1a58.tar.bz2
gentoo-ba489315ed494b0038ea44fbf2ccff8c420a1a58.zip
sci-libs/opencascade: fix check in cmake config
Fix a check for library path in the OpenCASCADEConfig.cmake file. Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Bernd Waibel <waebbl@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17956 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sci-libs/opencascade')
-rw-r--r--sci-libs/opencascade/opencascade-7.4.0-r3.ebuild (renamed from sci-libs/opencascade/opencascade-7.4.0-r2.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-libs/opencascade/opencascade-7.4.0-r2.ebuild b/sci-libs/opencascade/opencascade-7.4.0-r3.ebuild
index 5abfadcc3ce5..a6957289df15 100644
--- a/sci-libs/opencascade/opencascade-7.4.0-r2.ebuild
+++ b/sci-libs/opencascade/opencascade-7.4.0-r3.ebuild
@@ -84,6 +84,8 @@ pkg_setup() {
src_prepare() {
cmake_src_prepare
use java && java-pkg-opt-2_src_prepare
+ sed -e 's/\/lib\$/\/'$(get_libdir)'\$/' \
+ -i adm/templates/OpenCASCADEConfig.cmake.in || die
}
src_configure() {