summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-02-16 09:05:02 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-02-16 09:05:02 +0100
commit44bf837dedadb4a478e8592f91e4871f5a8d75b2 (patch)
treea6e7f0c45581309b70a7cdeba9555ca8451206ad /dev-tcltk
parentdev-util/cmake: Removed old (diff)
downloadgentoo-44bf837dedadb4a478e8592f91e4871f5a8d75b2.tar.gz
gentoo-44bf837dedadb4a478e8592f91e4871f5a8d75b2.tar.bz2
gentoo-44bf837dedadb4a478e8592f91e4871f5a8d75b2.zip
dev-tcltk/tclreadline: fix path for shared library
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
index 60918d371b1e..b162fd1c8670 100644
--- a/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
+++ b/dev-tcltk/tclreadline/tclreadline-2.3.8.ebuild
@@ -19,6 +19,13 @@ DEPEND="dev-lang/tcl:0=
RDEPEND="${DEPEND}"
BDEPEND=""
+src_prepare() {
+ default
+ sed -i \
+ -e "/TCLRL_LIBDIR/s|/usr/lib|/usr/$(get_libdir)|" \
+ configure || die
+}
+
src_configure() {
local myConf=--with-tcl="${EPREFIX}/usr/$(get_libdir)"
if ! use tk; then