Diff tktray-1.3.9 with a tktray-1.3.9-r2

/usr/portage/dev-tcltk/tktray/tktray-1.3.9-r2.ebuild 2023-10-09 14:52:30.908368386 +0300
1
# Copyright 1999-2021 Gentoo Authors
1
# Copyright 1999-2022 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
5 7

  
6 8
DESCRIPTION="System Tray Icon Support for Tk on X11"
7 9
HOMEPAGE="https://code.google.com/p/tktray/"
......
17 19
RESTRICT="test"
18 20

  
19 21
DEPEND="
20
	>=dev-lang/tcl-8.4:0=
21
	>=dev-lang/tk-8.4:0=
22
	>=dev-lang/tcl-8.4:=
23
	>=dev-lang/tk-8.4:=
22 24
	x11-libs/libXext"
23 25
RDEPEND="${DEPEND}"
24 26

  
25
PATCHES=( "${FILESDIR}"/1.1-ldflags.patch )
27
PATCHES=(
28
	"${FILESDIR}"/1.1-ldflags.patch
29
)
30

  
31
src_prepare() {
32
	default
33

  
34
	# Fix bad configure tests w/ Clang 16
35
	eautoreconf
36
}
26 37

  
27 38
src_configure() {
28
	source /usr/lib/tclConfig.sh
39
	source "${ESYSROOT}/usr/$(get_libdir)/tclConfig.sh" || die
40

  
29 41
	CPPFLAGS="-I${TCL_SRC_DIR}/generic ${CPPFLAGS}" \
30 42
	econf \
31 43
		$(use_enable debug symbols) \
Thank you!