summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Neumärker <xdch47@posteo.de>2021-08-11 13:05:13 +0000
committerAlfredo Tupone <tupone@gentoo.org>2021-11-03 19:44:57 +0100
commit249ac95a4d3dc9f841138f3d8732cf1a90737a5d (patch)
tree91ac3d2ecc4d4b2eac6fe16344a4c9e890dbdcce /dev-tcltk/tclreadline
parentdev-util/meson: 0.60.1 bump (diff)
downloadgentoo-249ac95a4d3dc9f841138f3d8732cf1a90737a5d.tar.gz
gentoo-249ac95a4d3dc9f841138f3d8732cf1a90737a5d.tar.bz2
gentoo-249ac95a4d3dc9f841138f3d8732cf1a90737a5d.zip
dev-tcltk/tclreadline: proper eprefix support
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Felix Neumärker <xdch47@posteo.de> Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk/tclreadline')
-rw-r--r--dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
index bf5c09d73760..ff8d8154a93b 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
@@ -27,14 +27,16 @@ src_prepare() {
}
src_configure() {
- local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)"
+ local myConf=(
+ --with-tcl="${EPREFIX}/usr/$(get_libdir)"
+ --with-readline-includes="${EPREFIX}/usr/include/readline"
+ )
if ! use tk; then
- myConf="$myConf --without-tk"
+ myConf+=(--without-tk)
fi
- econf $myConf
+ econf "${myConf[@]}"
}
-
src_install() {
default
- find "${D}" -name \*.la -delete
+ find "${ED}" -name \*.la -delete
}