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

sci-biology/fsl: use generic blas/lapack revert stuff.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
This commit is contained in:
François Bissey 2019-11-15 00:02:07 +13:00
parent 886fa7d55f
commit 25ac46b96f
No known key found for this signature in database
GPG Key ID: 9FA0518057258AF6
2 changed files with 9 additions and 6 deletions

View File

@ -1,3 +1,6 @@
14 Nov 2019; François Bissey <frp.bissey@gmail.com> fsl-6.0.2.ebuild:
sci-biology/fsl: use generic blas/lapack revert stuff.
08 Nov 2019; François Bissey <frp.bissey@gmail.com> fsl-6.0.2.ebuild:
sci-biology/fsl: final touches. Skip mist-clean.

View File

@ -25,8 +25,8 @@ DEPEND="
sys-libs/zlib
dev-lang/tcl:0=
dev-lang/tk:0=
virtual/lapack
virtual/blas
>=virtual/lapack-3.8
>=virtual/blas-3.8
"
RDEPEND="${DEPEND}"
@ -78,10 +78,6 @@ 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/*) \
@ -100,6 +96,10 @@ src_prepare(){
-i $(grep -rlI "\$FSLDIR/etc" *) \
-i $(grep -rlI "\${FSLDIR}/etc" *) || die
# Use generic blas/lapack rather than openblas
sed -e "s:-lopenblas:-llapack -lblas:g" \
-i $(grep -rlI lopenblas *) || die
# script wanting to have access to flsversion at buildtime
sed -e "s:/etc/fslversion:${S}/etc/fslversion:g" \
-i ${makefilelist} || die