1 |
commit: f6dac7e5f0c578330f3994c83afc702c78d785a4 |
2 |
Author: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 1 17:53:43 2014 +0000 |
4 |
Commit: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 1 17:53:43 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=f6dac7e5 |
7 |
|
8 |
sci-mathematics/petsc: fix INCLUDE dirs in petscvariables |
9 |
|
10 |
--- |
11 |
sci-mathematics/petsc/ChangeLog | 4 ++++ |
12 |
sci-mathematics/petsc/petsc-3.4.2.ebuild | 4 ++++ |
13 |
sci-mathematics/petsc/petsc-3.5.1.ebuild | 4 ++++ |
14 |
3 files changed, 12 insertions(+) |
15 |
|
16 |
diff --git a/sci-mathematics/petsc/ChangeLog b/sci-mathematics/petsc/ChangeLog |
17 |
index a0fd4a7..7e45651 100644 |
18 |
--- a/sci-mathematics/petsc/ChangeLog |
19 |
+++ b/sci-mathematics/petsc/ChangeLog |
20 |
@@ -4,6 +4,10 @@ |
21 |
|
22 |
01 Sep 2014; Jauhien Piatlicki <jauhien@g.o> petsc-3.4.2.ebuild, |
23 |
petsc-3.5.1.ebuild: |
24 |
+ fix INCLUDE dirs in petscvariables |
25 |
+ |
26 |
+ 01 Sep 2014; Jauhien Piatlicki <jauhien@g.o> petsc-3.4.2.ebuild, |
27 |
+ petsc-3.5.1.ebuild: |
28 |
make configure work on systems with default python3 interpreter |
29 |
|
30 |
06 Jan 2014; Justin Lecher <jlec@g.o> -petsc-3.3_p5.ebuild, |
31 |
|
32 |
diff --git a/sci-mathematics/petsc/petsc-3.4.2.ebuild b/sci-mathematics/petsc/petsc-3.4.2.ebuild |
33 |
index 065c95d..b0c767a 100644 |
34 |
--- a/sci-mathematics/petsc/petsc-3.4.2.ebuild |
35 |
+++ b/sci-mathematics/petsc/petsc-3.4.2.ebuild |
36 |
@@ -216,6 +216,10 @@ src_install() { |
37 |
"${ED}"/usr/include/${PN}/${PETSC_ARCH}/include/petscconf.h \ |
38 |
"${ED}"/usr/include/${PN}/${PETSC_ARCH}/conf/petscvariables || die |
39 |
sed -i \ |
40 |
+ -e "s:-I/include:-I${EPREFIX}/usr/include/${PN}:g" \ |
41 |
+ -e "s:-I/linux-gnu-cxx-opt/include:-I${EPREFIX}/usr/include/${PN}/${PETSC_ARCH}/include/:g" \ |
42 |
+ "${ED}"/usr/include/${PN}/${PETSC_ARCH}/conf/petscvariables || die |
43 |
+ sed -i \ |
44 |
-e "s:usr/lib:usr/$(get_libdir):g" \ |
45 |
"${ED}"/usr/include/${PN}/${PETSC_ARCH}/include/petscconf.h || die |
46 |
|
47 |
|
48 |
diff --git a/sci-mathematics/petsc/petsc-3.5.1.ebuild b/sci-mathematics/petsc/petsc-3.5.1.ebuild |
49 |
index 147c36b..3d01eee 100644 |
50 |
--- a/sci-mathematics/petsc/petsc-3.5.1.ebuild |
51 |
+++ b/sci-mathematics/petsc/petsc-3.5.1.ebuild |
52 |
@@ -211,6 +211,10 @@ src_install() { |
53 |
"${ED}"/usr/include/${PN}/${PETSC_ARCH}/include/petscconf.h \ |
54 |
"${ED}"/usr/include/${PN}/${PETSC_ARCH}/conf/petscvariables || die |
55 |
sed -i \ |
56 |
+ -e "s:-I/include:-I${EPREFIX}/usr/include/${PN}:g" \ |
57 |
+ -e "s:-I/linux-gnu-cxx-opt/include:-I${EPREFIX}/usr/include/${PN}/${PETSC_ARCH}/include/:g" \ |
58 |
+ "${ED}"/usr/include/${PN}/${PETSC_ARCH}/conf/petscvariables || die |
59 |
+ sed -i \ |
60 |
-e "s:usr/lib:usr/$(get_libdir):g" \ |
61 |
"${ED}"/usr/include/${PN}/${PETSC_ARCH}/include/petscconf.h || die |