From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 071E21382C5 for ; Sun, 4 Apr 2021 12:39:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31640E08BD; Sun, 4 Apr 2021 12:39:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18394E08BD for ; Sun, 4 Apr 2021 12:39:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E3B833EDD8 for ; Sun, 4 Apr 2021 12:39:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1163E63F for ; Sun, 4 Apr 2021 12:38:59 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1617539921.38041cc3933654ef05fd94f5a1e3927344fdd2f2.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/gav/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-arcade/gav/gav-0.9.0-r1.ebuild X-VCS-Directories: games-arcade/gav/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 38041cc3933654ef05fd94f5a1e3927344fdd2f2 X-VCS-Branch: master Date: Sun, 4 Apr 2021 12:38:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f5701c8f-5482-49c8-93bf-23f4ed87a8ed X-Archives-Hash: a6f1b71450663521675dbf4fabc84204 commit: 38041cc3933654ef05fd94f5a1e3927344fdd2f2 Author: Sam James gentoo org> AuthorDate: Sun Apr 4 12:07:26 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sun Apr 4 12:38:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38041cc3 games-arcade/gav: respect LD Much easier to just assume we're dealing with the compiler interface. Closes: https://bugs.gentoo.org/779976 Signed-off-by: Sam James gentoo.org> games-arcade/gav/gav-0.9.0-r1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/games-arcade/gav/gav-0.9.0-r1.ebuild b/games-arcade/gav/gav-0.9.0-r1.ebuild index 72320ba4673..babd4979333 100644 --- a/games-arcade/gav/gav-0.9.0-r1.ebuild +++ b/games-arcade/gav/gav-0.9.0-r1.ebuild @@ -44,12 +44,19 @@ src_prepare() { # Now, move the additional themes in the proper directory mv ../{fabeach,florindo,inverted,naive,unnamed,yisus,yisus2} themes || die - # no reason to have executable bit set on themes + # No reason to have executable bit set on themes find themes -type f -exec chmod a-x '{}' \; || die + + # Respect LD, bug #779976 + sed -i -e 's/LD = ld/LD ?= ld/' CommonHeader || die + sed -i -e 's/$(LD)/& $(LDFLAGS)/' */Makefile || die } src_configure() { tc-export CXX + + # Nobody _really_ sets LD. Tell the compiler what to do instead. + export LD="${CXX}" } src_compile() {