dev-tcltk/itk: fix install script

Closes: https://bugs.gentoo.org/925741
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2024-02-29 19:37:28 +01:00
parent 5f5298fe82
commit 6f24a7abe6
2 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
--- a/configure 2024-02-29 19:28:27.192049469 +0100
+++ b/configure 2024-02-29 19:28:41.507876154 +0100
@@ -2627,7 +2627,7 @@
# Configure the installer.
- INSTALL='$(SHELL) $(srcdir)/tclconfig/install-sh -c'
+ INSTALL='$(SHELL) install -c'
INSTALL_DATA_DIR='${INSTALL} -d -m 755'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL} -m 755'

View File

@@ -27,6 +27,10 @@ QA_CONFIG_IMPL_DECL_SKIP=(
stat64 # used to test for Large File Support
)
PATCHES=( "${FILESDIR}"/${P}-install.patch )
UNINSTALL_IGNORE='/usr/lib.*/itk.*/library'
src_prepare() {
sed 's:-pipe::g' -i configure || die
default
@@ -64,5 +68,5 @@ src_install() {
LDPATH="${EPREFIX}/usr/$(get_libdir)/${PN}${MY_PV}/"
EOF
doenvd "${T}"/34${PN}
dosym . /usr/$(get_libdir)/${PN}${MY_PV}/library
dosym . /usr/$(get_libdir)/${PN}${PV}/library
}