1 |
commit: 249ac95a4d3dc9f841138f3d8732cf1a90737a5d |
2 |
Author: Felix Neumärker <xdch47 <AT> posteo <DOT> de> |
3 |
AuthorDate: Wed Aug 11 13:05:13 2021 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 3 18:44:57 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=249ac95a |
7 |
|
8 |
dev-tcltk/tclreadline: proper eprefix support |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Felix Neumärker <xdch47 <AT> posteo.de> |
12 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
13 |
|
14 |
dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild | 12 +++++++----- |
15 |
1 file changed, 7 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild |
18 |
index bf5c09d7376..ff8d8154a93 100644 |
19 |
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild |
20 |
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild |
21 |
@@ -27,14 +27,16 @@ src_prepare() { |
22 |
} |
23 |
|
24 |
src_configure() { |
25 |
- local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)" |
26 |
+ local myConf=( |
27 |
+ --with-tcl="${EPREFIX}/usr/$(get_libdir)" |
28 |
+ --with-readline-includes="${EPREFIX}/usr/include/readline" |
29 |
+ ) |
30 |
if ! use tk; then |
31 |
- myConf="$myConf --without-tk" |
32 |
+ myConf+=(--without-tk) |
33 |
fi |
34 |
- econf $myConf |
35 |
+ econf "${myConf[@]}" |
36 |
} |
37 |
- |
38 |
src_install() { |
39 |
default |
40 |
- find "${D}" -name \*.la -delete |
41 |
+ find "${ED}" -name \*.la -delete |
42 |
} |