sci-biology/fsl: final touches. Skip mist-clean.
Package-Manager: Portage-2.3.76, Repoman-2.3.16
This commit is contained in:
parent
62a80a5269
commit
49ed09c52a
@ -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
|
||||
|
@ -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/*) \
|
||||
|
Loading…
x
Reference in New Issue
Block a user