commit: d3c472a255bf04085815a1464da403e4328d38de Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> AuthorDate: Sun Apr 23 09:13:37 2023 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Sun Apr 23 11:18:33 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c472a2
sci-libs/med: fix doc installation path - install documentation correctly into ${PF} - drop a sed statement to fix library installation path, which has become obsolete Closes: https://bugs.gentoo.org/904522 Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> Closes: https://github.com/gentoo/gentoo/pull/30716 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> sci-libs/med/{med-4.1.1-r2.ebuild => med-4.1.1-r3.ebuild} | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/sci-libs/med/med-4.1.1-r2.ebuild b/sci-libs/med/med-4.1.1-r3.ebuild similarity index 91% rename from sci-libs/med/med-4.1.1-r2.ebuild rename to sci-libs/med/med-4.1.1-r3.ebuild index 6b6346b2560b..6fa0f413d8c9 100644 --- a/sci-libs/med/med-4.1.1-r2.ebuild +++ b/sci-libs/med/med-4.1.1-r3.ebuild @@ -53,13 +53,8 @@ src_prepare() { -e 's@SET(_install_dir lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages/med)@SET(_install_dir '${pysite}'/med)@' \ -i ./python/CMakeLists.txt || die "sed on ./python/CMakeLists.txt failed" fi - for cm in ./src/CMakeLists.txt ./tools/medimport/CMakeLists.txt - do - sed -i -e "s@INSTALL(TARGETS \(.*\) DESTINATION lib)@INSTALL(TARGETS \1 DESTINATION $(get_libdir))@" \ - "${cm}" || die "sed on ${cm} failed" - done sed -e 's/med-fichier/med/' -i CMakeLists.txt || die "fix paths failed" - sed -e 's|doc/med-${MED_STR_VERSION}|doc/med-${MED_STR_VERSION}/html|' \ + sed -e 's|doc/med-${MED_STR_VERSION}|doc/'${PF}'/html|' \ -i CMakeLists.txt || die "fix doc path failed" # bug #862900, already reported upstream. CHECK on updates!