commit: 857db69b3f6689997aac4687f84f1d476db74d6b Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sat Mar 19 22:49:38 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Mar 19 23:33:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=857db69b
games-misc/sdljoytest: [QA] fix tc-get* quoting This can cause build problems for e.g. 32-bit (gcc -m32 ...) Signed-off-by: Sam James <sam <AT> gentoo.org> games-misc/sdljoytest/sdljoytest-11102003.ebuild | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/games-misc/sdljoytest/sdljoytest-11102003.ebuild b/games-misc/sdljoytest/sdljoytest-11102003.ebuild index 8519be5e1834..50d329f815ea 100644 --- a/games-misc/sdljoytest/sdljoytest-11102003.ebuild +++ b/games-misc/sdljoytest/sdljoytest-11102003.ebuild @@ -1,26 +1,25 @@ -# 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 + inherit toolchain-funcs DESCRIPTION="SDL app to test joysticks and game controllers" HOMEPAGE="http://sdljoytest.sourceforge.net/" SRC_URI="mirror://sourceforge/sdljoytest/SDLJoytest-GL-${PV}.tar.bz2" +S="${WORKDIR}"/SDLJoytest-GL LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" DEPEND="media-libs/libsdl[joystick,opengl,video] virtual/opengl media-libs/sdl-image" RDEPEND="${DEPEND}" -S=${WORKDIR}/SDLJoytest-GL - -PATCHES=("${FILESDIR}"/${P}-no-common.patch) +PATCHES=( "${FILESDIR}"/${P}-no-common.patch ) src_prepare() { default @@ -31,7 +30,7 @@ src_prepare() { src_compile() { emake \ - CC=$(tc-getCC) \ + CC="$(tc-getCC)" \ CFLAGS="$(sdl-config --cflags) ${CFLAGS}" \ LDFLAGS="$(sdl-config --libs) -lGL ${LDFLAGS}" }
