commit: 2771878d049c1715202d3c23c84ff647325d03c6 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> AuthorDate: Wed Jun 3 20:31:43 2020 +0000 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> CommitDate: Wed Jun 3 20:54:05 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2771878d
net-misc/spiped: honor CC, CFLAGS and LDFLAGS. Closes: https://bugs.gentoo.org/725230 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> net-misc/spiped/spiped-1.6.0-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/net-misc/spiped/spiped-1.6.0-r1.ebuild b/net-misc/spiped/spiped-1.6.0-r1.ebuild index b3ab508eb62..7820531c9cd 100644 --- a/net-misc/spiped/spiped-1.6.0-r1.ebuild +++ b/net-misc/spiped/spiped-1.6.0-r1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 +inherit toolchain-funcs + DESCRIPTION="secure pipe daemon" HOMEPAGE="http://www.tarsnap.com/spiped.html" SRC_URI="http://www.tarsnap.com/${PN}/${P}.tgz" @@ -23,6 +25,10 @@ RDEPEND=" ${DEPEND} !net-mail/qlogtools" +src_compile() { + emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + src_install() { dobin "${MY_PN}/${MY_PN}" dosbin "${PN}/${PN}"