From 82abd79e472da2085e1c05785d87c76de87d017b Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sat, 14 Nov 2020 12:36:07 +0000 Subject: app-cdr/bchunk: Fix build without native symlinks, pass flags Closes: https://bugs.gentoo.org/726370 Closes: https://bugs.gentoo.org/718168 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Alexey Sokolov Signed-off-by: Joonas Niilola --- app-cdr/bchunk/bchunk-1.2.2.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app-cdr/bchunk') diff --git a/app-cdr/bchunk/bchunk-1.2.2.ebuild b/app-cdr/bchunk/bchunk-1.2.2.ebuild index fac20a0e3c24..2ad0cacac6f3 100644 --- a/app-cdr/bchunk/bchunk-1.2.2.ebuild +++ b/app-cdr/bchunk/bchunk-1.2.2.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit toolchain-funcs + DESCRIPTION="Convert CD images from bin/cue to iso+wav/cdr" HOMEPAGE="http://he.fi/bchunk/" SRC_URI="http://he.fi/bchunk/${P}.tar.gz" @@ -13,6 +15,13 @@ KEYWORDS="amd64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-maco DOCS=( "${PN}.spec" README ChangeLog ) +src_compile() { + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LD="$(tc-getCC)" +} + src_install() { dobin "${PN}" doman "${PN}.1" -- cgit v1.2.3-65-gdbad