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 63FEC13835A for ; Fri, 22 Jan 2021 05:21:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6E527E0894; Fri, 22 Jan 2021 05:21:26 +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 54F4DE0894 for ; Fri, 22 Jan 2021 05:21:26 +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 306743410ED for ; Fri, 22 Jan 2021 05:21:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A61E64A5 for ; Fri, 22 Jan 2021 05:21:23 +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: <1611292868.5b0da0b48c9d8a41326bafd1fa74c57dfb972717.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/sndio/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/sndio/sndio-1.7.0.ebuild X-VCS-Directories: media-sound/sndio/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5b0da0b48c9d8a41326bafd1fa74c57dfb972717 X-VCS-Branch: master Date: Fri, 22 Jan 2021 05:21:23 +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: 0f3ee735-de9a-4b9f-97aa-bdd0ad92de49 X-Archives-Hash: 8337d3726e9df3b11ca0103bc22b6455 commit: 5b0da0b48c9d8a41326bafd1fa74c57dfb972717 Author: Sam James gentoo org> AuthorDate: Fri Jan 22 05:10:21 2021 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 22 05:21:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b0da0b4 media-sound/sndio: minor fixups * Respect EPREFIX * Respect CC * Die on ./configure failure Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> media-sound/sndio/sndio-1.7.0.ebuild | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/media-sound/sndio/sndio-1.7.0.ebuild b/media-sound/sndio/sndio-1.7.0.ebuild index d3338773e3f..24f14c1d8c3 100644 --- a/media-sound/sndio/sndio-1.7.0.ebuild +++ b/media-sound/sndio/sndio-1.7.0.ebuild @@ -1,13 +1,14 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit multilib-minimal +inherit multilib-minimal toolchain-funcs DESCRIPTION="small audio and MIDI framework part of the OpenBSD project" HOMEPAGE="http://www.sndio.org/" SRC_URI="http://www.sndio.org/${P}.tar.gz" + LICENSE="ISC" SLOT="0/7.0" KEYWORDS="~amd64" @@ -28,12 +29,15 @@ src_prepare() { } multilib_src_configure() { + tc-export CC + ./configure \ - --prefix=/usr \ - --libdir=/usr/$(get_libdir) \ + --prefix="${EPREFIX}"/usr \ + --libdir="${EPREFIX}"/usr/$(get_libdir) \ --privsep-user=sndiod \ --with-libbsd \ - $(use_enable alsa) + $(use_enable alsa) \ + || die "Configure failed" } src_install() {