Skip to content

Commit

Permalink
dev-tcltk/tclreadline: proper eprefix support
Browse files Browse the repository at this point in the history
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Felix Neumärker <[email protected]>
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
xdch47 authored and atupone committed Nov 3, 2021
1 parent 758cea7 commit 249ac95
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions dev-tcltk/tclreadline/tclreadline-2.3.8-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 249ac95

Please sign in to comment.