1 |
commit: e3ed6312407f673e0d8d544fd54d625b6492a27a |
2 |
Author: Horea Christian <chr <AT> chymera <DOT> eu> |
3 |
AuthorDate: Fri Apr 1 08:22:33 2022 +0000 |
4 |
Commit: Horea Christian <horea.christ <AT> gmail <DOT> com> |
5 |
CommitDate: Fri Apr 1 08:22:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=e3ed6312 |
7 |
|
8 |
sci-biology/afni: cleaned up whitespace and unneeded code |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Horea Christian <chr <AT> chymera.eu> |
12 |
|
13 |
sci-biology/afni/afni-20.1.16.ebuild | 8 ++++---- |
14 |
sci-biology/afni/afni-20.3.03.ebuild | 6 +----- |
15 |
2 files changed, 5 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/afni/afni-20.1.16.ebuild b/sci-biology/afni/afni-20.1.16.ebuild |
18 |
index 98fdb2397..a95a34cfb 100644 |
19 |
--- a/sci-biology/afni/afni-20.1.16.ebuild |
20 |
+++ b/sci-biology/afni/afni-20.1.16.ebuild |
21 |
@@ -46,17 +46,17 @@ src_prepare() { |
22 |
# Unbundle imcat |
23 |
sed -e "s/ imcat / /g" \ |
24 |
-i Makefile.INCLUDE || die "Could not edit includes files." |
25 |
- sed -e "s~CC = /usr/bin/gcc -O2 -m64~CC = $(tc-getCC) \$(CFLAGS)~" \ |
26 |
+ sed -e "s~CC = /usr/bin/gcc -O2 -m64~CC = $(tc-getCC) \$(CFLAGS)~" \ |
27 |
-e "s~CCMIN = /usr/bin/gcc -m64~CCMIN = $(tc-getCC) \$(CFLAGS)~" \ |
28 |
- -e "s~LD = /usr/bin/gcc~LD = $(tc-getCC)~" \ |
29 |
- -e "s~AR = /usr/bin/ar~AR = $(tc-getAR)~" \ |
30 |
+ -e "s~LD = /usr/bin/gcc~LD = $(tc-getCC)~" \ |
31 |
+ -e "s~AR = /usr/bin/ar~AR = $(tc-getAR)~" \ |
32 |
-e "s~RANLIB = /usr/bin/ranlib~RANLIB = $(tc-getRANLIB)~" \ |
33 |
-i Makefile || die "Could not edit Makefile" |
34 |
# they provide somewhat problematic makefiles :( |
35 |
sed -e "s~ifeq ($(CC),gcc)~ifeq (1,1)~"\ |
36 |
-i SUMA/SUMA_Makefile || die "Could not edit SUMA/SUMA_Makefile" |
37 |
# upstream checks if $CC is EXACTLY gcc, else sets variables for Mac |
38 |
- find "${S}" -iname "*Makefile*" | xargs sed -e "s~/usr/~${EROOT}/usr/~g;" -i |
39 |
+ find "${S}" -iname "*Makefile*" | xargs sed -e "s~/usr/~${EPREFIX}/usr/~g;" -i |
40 |
default |
41 |
} |
42 |
|
43 |
|
44 |
diff --git a/sci-biology/afni/afni-20.3.03.ebuild b/sci-biology/afni/afni-20.3.03.ebuild |
45 |
index fab7446bf..a95a34cfb 100644 |
46 |
--- a/sci-biology/afni/afni-20.3.03.ebuild |
47 |
+++ b/sci-biology/afni/afni-20.3.03.ebuild |
48 |
@@ -39,10 +39,6 @@ S="${WORKDIR}/${PN}-AFNI_${PV}/src" |
49 |
BUILD="linux_fedora_19_64" |
50 |
BIN_CONFLICTS=(qdelaunay whirlgif djpeg cjpeg qhull rbox count mpeg_encode) |
51 |
|
52 |
-#PATCHES=( |
53 |
-# "${FILESDIR}/${P}-python.patch" |
54 |
-#) |
55 |
- |
56 |
src_prepare() { |
57 |
eapply "${FILESDIR}/${P}-python.patch" || die |
58 |
find -type f -exec sed -i -e "s/-lXp //g" {} + |
59 |
@@ -60,7 +56,7 @@ src_prepare() { |
60 |
sed -e "s~ifeq ($(CC),gcc)~ifeq (1,1)~"\ |
61 |
-i SUMA/SUMA_Makefile || die "Could not edit SUMA/SUMA_Makefile" |
62 |
# upstream checks if $CC is EXACTLY gcc, else sets variables for Mac |
63 |
- find "${S}" -iname "*Makefile*" | xargs sed -e "s~/usr/~${EROOT}/usr/~g;" -i |
64 |
+ find "${S}" -iname "*Makefile*" | xargs sed -e "s~/usr/~${EPREFIX}/usr/~g;" -i |
65 |
default |
66 |
} |