From 2771878d049c1715202d3c23c84ff647325d03c6 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Wed, 3 Jun 2020 22:31:43 +0200 Subject: 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 --- net-misc/spiped/spiped-1.6.0-r1.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'net-misc/spiped') diff --git a/net-misc/spiped/spiped-1.6.0-r1.ebuild b/net-misc/spiped/spiped-1.6.0-r1.ebuild index b3ab508eb627..7820531c9cd9 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}" -- cgit v1.2.3-65-gdbad