Skip to content

Commit

Permalink
dev-tcltk/tkpng: fix configure w/ clang 16
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Nov 23, 2022
1 parent 4d5923d commit 7572adc
Showing 1 changed file with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,30 +1,40 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
EAPI=8

MY_P="${PN}${PV}"

inherit autotools

DESCRIPTION="Implements support for loading and using PNG images with Tcl/Tk"
HOMEPAGE="http://www.muonics.com/FreeStuff/TkPNG/"
SRC_URI="mirror://sourceforge/${PN}/${PN}/${PV}/${MY_P}.tgz"

SLOT="0"
LICENSE="tcltk"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug threads"

RDEPEND="
>=dev-lang/tcl-8.4:0=
>=dev-lang/tk-8.4:0=
sys-libs/zlib"
>=dev-lang/tcl-8.4:=
>=dev-lang/tk-8.4:=
sys-libs/zlib
"
DEPEND="${RDEPEND}"

# test target in Makefile, but test not shipped
RESTRICT="test"

S="${WORKDIR}"/${MY_P}

src_prepare() {
default

# Clang 16
eautoreconf
}

src_configure() {
econf \
$(use_enable debug symbols) \
Expand Down

0 comments on commit 7572adc

Please sign in to comment.