summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Waibel <waebbl-gentoo@posteo.net>2023-04-23 11:13:37 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2023-04-23 13:18:33 +0200
commitd3c472a255bf04085815a1464da403e4328d38de (patch)
tree78c290b4f4c4168b08d115a70ecb37bd6f33d799 /sci-libs
parentnet-im/biboumi: require <catch-3 for tests (diff)
downloadgentoo-d3c472a255bf04085815a1464da403e4328d38de.tar.gz
gentoo-d3c472a255bf04085815a1464da403e4328d38de.tar.bz2
gentoo-d3c472a255bf04085815a1464da403e4328d38de.zip
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@posteo.net> Closes: https://github.com/gentoo/gentoo/pull/30716 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/med/med-4.1.1-r3.ebuild (renamed from sci-libs/med/med-4.1.1-r2.ebuild)7
1 files changed, 1 insertions, 6 deletions
diff --git a/sci-libs/med/med-4.1.1-r2.ebuild b/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!