aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <chr@chymera.eu>2022-04-03 04:11:12 -0400
committerHorea Christian <chr@chymera.eu>2022-04-03 04:11:12 -0400
commit65c6f547d13f0bf646544e6aef04a70e0d8976c3 (patch)
tree39213482f7fcf19ac1f36f7dd2fa28808559f920
parentsci-biology/afni: bump ebuild still fails (diff)
downloadsci-65c6f547.tar.gz
sci-65c6f547.tar.bz2
sci-65c6f547.zip
sci-biology/afni: corrected patch application
ebuild still fails, though, log included in comment and reposited here: https://ppb.chymera.eu/4223de.log Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Horea Christian <chr@chymera.eu>
-rw-r--r--sci-biology/afni/afni-22.0.21.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/sci-biology/afni/afni-22.0.21.ebuild b/sci-biology/afni/afni-22.0.21.ebuild
index d8ad693bf..6694c9525 100644
--- a/sci-biology/afni/afni-22.0.21.ebuild
+++ b/sci-biology/afni/afni-22.0.21.ebuild
@@ -12,8 +12,7 @@ S="${WORKDIR}/${PN}-AFNI_${PV}/src"
LICENSE="GPL-3+"
SLOT="0"
-# Depends on some python version withoug pulling it in
-# `thd_selenium.c:18:10: fatal error: Python.h: No such file or directory`
+# SUMA error: https://ppb.chymera.eu/4223de.log
KEYWORDS=""
RDEPEND="
@@ -38,15 +37,12 @@ DEPEND="${RDEPEND}
app-shells/tcsh
"
-PATCHES=(
- # Drop python2.7 dependency
- "${FILESDIR}/${P}-python.patch"
-)
-
BUILD="linux_fedora_19_64"
BIN_CONFLICTS=(qdelaunay whirlgif djpeg cjpeg qhull rbox count)
src_prepare() {
+ # more easily applied here than via PATCHES at phase end.
+ eapply "${FILESDIR}/${P}-python.patch" || die
find -type f -exec sed -i -e "s/-lXp //g" {} + || die
cp other_builds/Makefile.${BUILD} Makefile || die "Could not copy Makefile"
# Unbundle imcat