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 E540E13835A for ; Thu, 15 Apr 2021 06:40:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4171EE08FA; Thu, 15 Apr 2021 06:40:08 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 240E2E08FA for ; Thu, 15 Apr 2021 06:40:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 477F4340D8A for ; Thu, 15 Apr 2021 06:40:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CE6C7735 for ; Thu, 15 Apr 2021 06:39:59 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1618468739.4d982495c4a51401ce3b1e8c918c01782fb01099.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/lwm/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/lwm/lwm-1.2.4.ebuild X-VCS-Directories: x11-wm/lwm/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 4d982495c4a51401ce3b1e8c918c01782fb01099 X-VCS-Branch: master Date: Thu, 15 Apr 2021 06:39: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: 006602d7-df2a-4045-a4d6-168279042e34 X-Archives-Hash: e979f89ca4b36517f29d2d3188ba45ed commit: 4d982495c4a51401ce3b1e8c918c01782fb01099 Author: Ionen Wolkens gmail com> AuthorDate: Wed Apr 14 14:59:47 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Thu Apr 15 06:38:59 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d982495 x11-wm/lwm: fix build with -native-symlinks Closes: https://bugs.gentoo.org/726256 Signed-off-by: Ionen Wolkens gmail.com> Signed-off-by: Joonas Niilola gentoo.org> x11-wm/lwm/lwm-1.2.4.ebuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/x11-wm/lwm/lwm-1.2.4.ebuild b/x11-wm/lwm/lwm-1.2.4.ebuild index 563b885460e..c42e35e0988 100644 --- a/x11-wm/lwm/lwm-1.2.4.ebuild +++ b/x11-wm/lwm/lwm-1.2.4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -23,7 +23,7 @@ RDEPEND=" DEPEND=" ${RDEPEND} x11-base/xorg-proto - x11-misc/imake + >=x11-misc/imake-1.0.8-r1 " DOCS=( AUTHORS BUGS ChangeLog ) @@ -31,7 +31,11 @@ DOCS=( AUTHORS BUGS ChangeLog ) src_prepare() { default sed -i -e "s#(SMLIB)#& -lICE#g" Imakefile || die #370127 - xmkmf || die +} + +src_configure() { + CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \ + IMAKECPP="${IMAKECPP:-$(tc-getCPP)}" xmkmf || die } src_compile() {