Diff itcl-4.2.2 with a itcl-4.3.1
| /usr/portage/dev-tcltk/itcl/itcl-4.3.1.ebuild 2025-09-08 18:21:12.097752593 +0300 | ||
|---|---|---|
| 1 | 1 |
# Copyright 1999-2025 Gentoo Authors |
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=7 |
|
| 4 |
EAPI=8 |
|
| 5 | ||
| 6 |
inherit autotools dot-a |
|
| 5 | 7 | |
| 6 | 8 |
MYP="${PN}-$(ver_rs 1- '-')"
|
| 7 | 9 | |
| 8 | 10 |
DESCRIPTION="Object Oriented Enhancements for Tcl/Tk" |
| 9 |
HOMEPAGE="http://incrtcl.sourceforge.net/" |
|
| 11 |
HOMEPAGE="https://incrtcl.sourceforge.net/" |
|
| 10 | 12 |
SRC_URI="https://github.com/tcltk/${PN}/archive/refs/tags/${MYP}.tar.gz"
|
| 11 | 13 | |
| 12 |
SLOT="0" |
|
| 14 |
S="${WORKDIR}/${PN}-${MYP}"
|
|
| 15 | ||
| 13 | 16 |
LICENSE="BSD" |
| 14 |
KEYWORDS="~alpha amd64 arm64 ppc ~riscv ~sparc x86 ~amd64-linux ~x86-linux" |
|
| 17 |
SLOT="0" |
|
| 18 |
KEYWORDS="~alpha amd64 ~arm64 ppc ~riscv ~sparc x86 ~amd64-linux ~x86-linux" |
|
| 15 | 19 | |
| 16 | 20 |
RDEPEND=">=dev-lang/tcl-8.6:0=" |
| 17 | 21 |
DEPEND="${RDEPEND}"
|
| 18 | 22 | |
| 19 |
S="${WORKDIR}/${PN}-${MYP}"
|
|
| 20 | ||
| 21 | 23 |
# somehow broken |
| 22 | 24 |
#RESTRICT=test |
| 23 | 25 | |
| 24 | 26 |
QA_CONFIG_IMPL_DECL_SKIP=( |
| 25 |
stat64 opendir64 rewinddir64 closedir64 # used to test for Large File Support |
|
| 27 |
stat64 opendir64 readdir64 rewinddir64 closedir64 # used on AIX |
|
| 26 | 28 |
) |
| 27 | 29 | |
| 30 |
PATCHES=( "${FILESDIR}"/${PN}-4.2.4-gentoo.patch )
|
|
| 31 | ||
| 28 | 32 |
src_prepare() {
|
| 29 | 33 |
default |
| 30 | 34 |
cp -r itclWidget/tclconfig tclconfig || die |
| 35 |
echo "git-a3e8b43c671afc7f0d82bd892325d42c813791ab" > manifest.uuid |
|
| 36 |
eautoreconf |
|
| 31 | 37 |
} |
| 32 | 38 | |
| 33 | 39 |
src_configure() {
|
| 40 |
lto-guarantee-fat |
|
| 34 | 41 |
econf \ |
| 35 | 42 |
--with-tcl="${EPREFIX}"/usr/$(get_libdir) \
|
| 36 | 43 |
--with-tclinclude="${EPREFIX}"/usr/include \
|
| ... | ... | |
| 52 | 59 | |
| 53 | 60 |
src_install() {
|
| 54 | 61 |
default |
| 62 |
strip-lto-bytecode |
|
| 55 | 63 | |
| 56 | 64 |
local MY_P=${PN}${PV}
|
| 57 | 65 | |
| ... | ... | |
| 67 | 75 |
LDPATH="${EPREFIX}/usr/$(get_libdir)/${MY_P}/"
|
| 68 | 76 |
EOF |
| 69 | 77 |
doenvd "${T}"/34${PN}
|
| 78 |
dosym . /usr/$(get_libdir)/${MY_P}/library
|
|
| 70 | 79 |
} |