diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-30 19:43:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-30 19:43:03 +0100 |
commit | 162945d2a91899b637bbb9e163b406350de12906 (patch) | |
tree | 49cc2cc66f724a7c6f033f93aaba4ae3be1f2259 /dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | |
parent | f660c6de84558324d784218831d8f0782ee41e2e (diff) |
gentoo resync : 30.10.2021
Diffstat (limited to 'dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild')
-rw-r--r-- | dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild index f24710e3f1e8..7a07697e35ae 100644 --- a/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild +++ b/dev-tcltk/tcl3d/tcl3d-0.5.0.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit flag-o-matic toolchain-funcs @@ -31,6 +31,15 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${PN}" PATCHES=( "${FILESDIR}/${P}-include-tk-dir-and-permissive.patch" ) +src_prepare() { + sed -i \ + -e '/\..$(DSEP)pkgIndex.tcl/d' \ + tcl3d*/Makefile \ + || die + + default +} + src_configure() { local _TCL_V=( $(echo 'puts [info tclversion]' | tclsh | tr '.' ' ') ) local _TCL_FV="${_TCL_V[0]}.${_TCL_V[1]}" @@ -74,4 +83,6 @@ src_compile() { src_install() { emake INSTDIR="${D}/usr" DESTDIR="${D}" INSTLIB="${D}/usr/$(get_libdir)" install + insinto /usr/$(get_libdir)/${PN}${PV} + doins pkgIndex.tcl } |