diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/opencascade/opencascade-7.5.1-r1.ebuild (renamed from sci-libs/opencascade/opencascade-7.5.1.ebuild) | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sci-libs/opencascade/opencascade-7.5.1.ebuild b/sci-libs/opencascade/opencascade-7.5.1-r1.ebuild index 474b381f5561..88f0fd458886 100644 --- a/sci-libs/opencascade/opencascade-7.5.1.ebuild +++ b/sci-libs/opencascade/opencascade-7.5.1-r1.ebuild @@ -80,6 +80,13 @@ src_prepare() { sed -e 's/\/lib\$/\/'$(get_libdir)'\$/' \ -i adm/templates/OpenCASCADEConfig.cmake.in || die + + # There is an OCCT_UPDATE_TARGET_FILE cmake macro that fails due to some + # assumptions it makes about installation paths. Rather than fixing it, just + # get rid of the mechanism altogether - its purpose is to allow a + # side-by-side installation of release and debug libraries. + sed -e 's|\\${OCCT_INSTALL_BIN_LETTER}||' \ + -i "adm/cmake/occt_toolkit.cmake" } src_configure() { |