commit:     493d545eb75a4cb1672a2377211b4dbb6fe3488b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 19 22:51:22 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 19 23:33:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=493d545e

games-puzzle/construo: [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-puzzle/construo/construo-0.2.3.ebuild | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/games-puzzle/construo/construo-0.2.3.ebuild 
b/games-puzzle/construo/construo-0.2.3.ebuild
index 89c4de46b053..740a6c5787db 100644
--- a/games-puzzle/construo/construo-0.2.3.ebuild
+++ b/games-puzzle/construo/construo-0.2.3.ebuild
@@ -1,7 +1,8 @@
-# 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 autotools desktop toolchain-funcs
 
 DESCRIPTION="2d construction toy with objects that react on physical forces"
@@ -12,12 +13,10 @@ LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-RDEPEND="
-       media-libs/freeglut
+RDEPEND="media-libs/freeglut
        virtual/glu
        virtual/opengl
-       x11-libs/libXxf86vm
-"
+       x11-libs/libXxf86vm"
 DEPEND="${RDEPEND}
        x11-base/xorg-proto"
 
@@ -32,11 +31,12 @@ src_prepare() {
 }
 
 src_compile() {
-       emake AR=$(tc-getAR)
+       emake AR="$(tc-getAR)"
 }
 
 src_install() {
        default
-       make_desktop_entry "${PN}.glut" "${PN}.glut"
-       make_desktop_entry "${PN}.x11" "${PN}.x11"
+
+       make_desktop_entry ${PN}.glut ${PN}.glut
+       make_desktop_entry ${PN}.x11 ${PN}.x11
 }

Reply via email to