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 5BC361382C5 for ; Fri, 18 Jun 2021 21:07:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C7EBE0874; Fri, 18 Jun 2021 21:07:42 +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 65135E0872 for ; Fri, 18 Jun 2021 21:07:42 +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 7131B340B9C for ; Fri, 18 Jun 2021 21:07:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EC7CE7BE for ; Fri, 18 Jun 2021 21:07:37 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1624050413.65f231d3f8e95477c26ffeab12e5f748b35df26d.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/zsnes/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/zsnes/zsnes-1.51-r9.ebuild X-VCS-Directories: games-emulation/zsnes/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 65f231d3f8e95477c26ffeab12e5f748b35df26d X-VCS-Branch: master Date: Fri, 18 Jun 2021 21:07:37 +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: 001499ad-2180-4008-9bf1-2f4669f548e1 X-Archives-Hash: 94f353d01260be22ada4fe64d1da15c4 commit: 65f231d3f8e95477c26ffeab12e5f748b35df26d Author: Sam James gentoo org> AuthorDate: Fri Jun 18 21:06:53 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Fri Jun 18 21:06:53 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f231d3 games-emulation/zsnes: respect ${PKG_CONFIG} Package-Manager: Portage-3.0.18-prefix, Repoman-3.0.3 Signed-off-by: Sam James gentoo.org> Signed-off-by: David Seifert gentoo.org> games-emulation/zsnes/zsnes-1.51-r9.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/games-emulation/zsnes/zsnes-1.51-r9.ebuild b/games-emulation/zsnes/zsnes-1.51-r9.ebuild index a92368d1bf9..f97e76f1228 100644 --- a/games-emulation/zsnes/zsnes-1.51-r9.ebuild +++ b/games-emulation/zsnes/zsnes-1.51-r9.ebuild @@ -26,7 +26,7 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND=" dev-lang/nasm - debug? ( virtual/pkgconfig ) + virtual/pkgconfig " PATCHES=( @@ -74,8 +74,8 @@ src_prepare() { -e '/^CFLAGS=.*local/s:-pipe.*:-Wall -I.":' \ -e '/^LDFLAGS=.*local/d' \ -e '/\w*CFLAGS=.*fomit/s:-O3.*$STRIP::' \ - -e '/lncurses/s:-lncurses:`pkg-config ncurses --libs`:' \ - -e '/lcurses/s:-lcurses:`pkg-config ncurses --libs`:' \ + -e '/lncurses/s:-lncurses:`${PKG_CONFIG} ncurses --libs`:' \ + -e '/lcurses/s:-lcurses:`${PKG_CONFIG} ncurses --libs`:' \ configure.in || die sed -i \ -e 's/configure.in/configure.ac/' \ @@ -85,13 +85,16 @@ src_prepare() { } src_configure() { - tc-export CC + tc-export CC PKG_CONFIG + export BUILD_CXX=$(tc-getBUILD_CXX) export NFLAGS=-O1 + use amd64 && multilib_toolchain_setup x86 use custom-cflags || strip-flags - append-cppflags -U_FORTIFY_SOURCE #257963 + # bug #257963 + append-cppflags -U_FORTIFY_SOURCE econf \ $(use_enable ao libao) \