aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <chr@chymera.eu>2021-01-02 22:44:38 -0500
committerHorea Christian <chr@chymera.eu>2021-01-02 22:44:38 -0500
commitf225be3cfea18d5fedcc3c7f77f402effa123dea (patch)
tree271f4b240c5318a3f4f3f1c9f2ae4a2a471ade1e /sci-biology/afni
parentdev-python/traits: keeping second version 6.0.0 (diff)
downloadsci-f225be3cfea18d5fedcc3c7f77f402effa123dea.tar.gz
sci-f225be3cfea18d5fedcc3c7f77f402effa123dea.tar.bz2
sci-f225be3cfea18d5fedcc3c7f77f402effa123dea.zip
sci-biology/afni: applying patch at start of prepare phase
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Horea Christian <chr@chymera.eu>
Diffstat (limited to 'sci-biology/afni')
-rw-r--r--sci-biology/afni/afni-20.1.16.ebuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/sci-biology/afni/afni-20.1.16.ebuild b/sci-biology/afni/afni-20.1.16.ebuild
index 09e2b7def..da68d2d6d 100644
--- a/sci-biology/afni/afni-20.1.16.ebuild
+++ b/sci-biology/afni/afni-20.1.16.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -39,11 +39,8 @@ S="${WORKDIR}/${PN}-AFNI_${PV}/src"
BUILD="linux_fedora_19_64"
BIN_CONFLICTS=(qdelaunay whirlgif djpeg cjpeg qhull rbox count mpeg_encode)
-PATCHES=(
- "${FILESDIR}/${P}-python.patch"
-)
-
src_prepare() {
+ eapply "${FILESDIR}/${P}-python.patch" || die
find -type f -exec sed -i -e "s/-lXp //g" {} +
cp other_builds/Makefile.${BUILD} Makefile || die "Could not copy Makefile"
# Unbundle imcat