diff options
author | Sam James <sam@gentoo.org> | 2022-07-17 20:37:51 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-17 20:37:51 +0000 |
commit | 4e30c3a1d775d876c4f97c8b5ebf00a0410cb9fc (patch) | |
tree | 66e95fff66c1536519188e187f01a54b456cc40e /x11-misc | |
parent | dev-java/openjdk: Fix build for musl (diff) | |
download | gentoo-4e30c3a1d775d876c4f97c8b5ebf00a0410cb9fc.tar.gz gentoo-4e30c3a1d775d876c4f97c8b5ebf00a0410cb9fc.tar.bz2 gentoo-4e30c3a1d775d876c4f97c8b5ebf00a0410cb9fc.zip |
x11-misc/accessx: EAPI 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/accessx/accessx-0951-r3.ebuild (renamed from x11-misc/accessx/accessx-0951-r2.ebuild) | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/x11-misc/accessx/accessx-0951-r2.ebuild b/x11-misc/accessx/accessx-0951-r3.ebuild index effe98e9c553..852c3f4ae74b 100644 --- a/x11-misc/accessx/accessx-0951-r2.ebuild +++ b/x11-misc/accessx/accessx-0951-r3.ebuild @@ -1,39 +1,44 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 inherit toolchain-funcs DESCRIPTION="Interface to the XKEYBOARD extension in X11" HOMEPAGE="http://cita.disability.uiuc.edu/software/accessx/freewareaccessx.php" SRC_URI="http://cmos-eng.rehab.uiuc.edu/${PN}/software/${PN}${PV}.tar.gz" +S="${WORKDIR}"/${PN} LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ppc sparc x86" -IUSE="" -RDEPEND="x11-libs/libX11 +RDEPEND=" + dev-lang/tk:= + x11-libs/libX11 x11-libs/libXext - dev-lang/tk:0=" -DEPEND=" - ${RDEPEND} - virtual/pkgconfig " +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" -S=${WORKDIR}/${PN} -PATCHES=( "${FILESDIR}"/${P}-build.patch ) +PATCHES=( + "${FILESDIR}"/${P}-build.patch +) src_prepare() { default + sed -i \ -e 's:$(CC) $(OPTS) ax.C:$(CC) $(LDFLAGS) $(OPTS) ax.C:' \ Makefile || die } src_compile() { - emake CC="$(tc-getCXX)" OPTS="${CXXFLAGS}" XLIBDIR="-L/usr/$(get_libdir)" \ + emake \ + CC="$(tc-getCXX)" \ + OPTS="${CXXFLAGS}" \ + XLIBDIR="-L${ESYSROOT}/usr/$(get_libdir)" \ LLIBS="$($(tc-getPKG_CONFIG) --libs xext) $($(tc-getPKG_CONFIG) --libs x11)" } |