1
0
mirror of synced 2024-12-22 12:50:33 +01:00

sci-biology/fsl: final touches. Skip mist-clean.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
This commit is contained in:
François Bissey 2019-11-08 13:29:57 +13:00
parent 62a80a5269
commit 49ed09c52a
No known key found for this signature in database
GPG Key ID: 9FA0518057258AF6
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,6 @@
08 Nov 2019; François Bissey <frp.bissey@gmail.com> fsl-6.0.2.ebuild:
sci-biology/fsl: final touches. Skip mist-clean.
07 Nov 2019; François Bissey <frp.bissey@gmail.com>
+files/fsl-6.0.2-fsldir_redux.patch, fsl-6.0.2.ebuild:
sci-biology/fsl: Work on fsldir elimination

View File

@ -56,6 +56,9 @@ src_prepare(){
eprefixify $(grep -rl GENTOO_PORTAGE_EPREFIX src/*) \
etc/js/label-div.html
# Disable mist-clean the hard way for now.
rm -rf src/mist-clean
makefilelist=$(find src/ -name Makefile)
sed -i \
@ -75,6 +78,10 @@ src_prepare(){
$(grep -rl "\${FSLDIR}/bin" etc/matlab/*)\
$(grep -rl "\$FSLDIR/bin" etc/matlab/*) || die
# Not caught by the previous sed. Usually append
sed -e "s:\${FSLDIR}/bin::g" \
-i $(grep -rl "\${FSLDIR}/bin" src/*) || die
sed -e "s:\$FSLDIR/data:${EPREFIX}/usr/share/fsl/data:g" \
-e "s:\${FSLDIR}/data:${EPREFIX}/usr/share/fsl/data:g" \
-i $(grep -rl "\$FSLDIR/data" src/*) \