commit: f225be3cfea18d5fedcc3c7f77f402effa123dea
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Sun Jan 3 03:44:38 2021 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Sun Jan 3 03:44:38 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f225be3c
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 <AT> chymera.eu>
sci-biology/afni/afni-20.1.16.ebuild | 7 ++-----
1 file 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