mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
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:
11
dev-tcltk/itk/files/itk-4.2.3-install.patch
Normal file
11
dev-tcltk/itk/files/itk-4.2.3-install.patch
Normal 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'
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user