1 |
commit: d786e71e19cac05e56ed0393f287b45df4686ba8 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 21 17:33:18 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 21 17:33:18 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=d786e71e |
7 |
|
8 |
sci-libs/cgnstools: Add subslot operators |
9 |
|
10 |
Package-Manager: portage-2.2.20.1 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild | 19 ++++++++++++------- |
14 |
1 file changed, 12 insertions(+), 7 deletions(-) |
15 |
|
16 |
diff --git a/sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild b/sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild |
17 |
index 7abf975..4382192 100644 |
18 |
--- a/sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild |
19 |
+++ b/sci-libs/cgnstools/cgnstools-2.5.4-r1.ebuild |
20 |
@@ -17,20 +17,25 @@ SLOT="0" |
21 |
KEYWORDS="~amd64 ~x86" |
22 |
IUSE="hdf5 tcl tk X" |
23 |
|
24 |
-DEPEND="hdf5? ( sci-libs/cgnslib[hdf5] ) |
25 |
+DEPEND=" |
26 |
+ hdf5? ( sci-libs/cgnslib[hdf5] ) |
27 |
!hdf5? ( sci-libs/cgnslib[-hdf5] ) |
28 |
- tcl? ( dev-lang/tcl ) |
29 |
- tk? ( dev-lang/tk )" |
30 |
+ tcl? ( dev-lang/tcl:0= ) |
31 |
+ tk? ( dev-lang/tk:0= )" |
32 |
|
33 |
RDEPEND="${DEPEND}" |
34 |
|
35 |
S=${WORKDIR}/${PN} |
36 |
|
37 |
+PATCHES=( |
38 |
+ "${FILESDIR}"/${P}.patch |
39 |
+ "${FILESDIR}"/${P}_cgns_to_vtk2D.patch |
40 |
+ "${FILESDIR}"/${P}_gcc4.4.patch |
41 |
+ "${FILESDIR}"/${P}_tcltk.patch |
42 |
+) |
43 |
+ |
44 |
src_prepare() { |
45 |
- epatch "${FILESDIR}"/${P}.patch |
46 |
- epatch "${FILESDIR}"/${P}_cgns_to_vtk2D.patch |
47 |
- epatch "${FILESDIR}"/${P}_gcc4.4.patch |
48 |
- epatch "${FILESDIR}"/${P}_tcltk.patch |
49 |
+ epatch "${PATCHES[@]}" |
50 |
} |
51 |
|
52 |
src_configure() { |