summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Sokolov <sokolov@google.com>2020-11-14 12:36:07 +0000
committerJoonas Niilola <juippis@gentoo.org>2020-11-20 12:37:00 +0200
commit82abd79e472da2085e1c05785d87c76de87d017b (patch)
treeb679e47ef5c98dcf8b57e487cec28182bb3afdaf /app-cdr/bchunk
parentdev-ml/ocaml-gettext: remove unused patch (diff)
downloadgentoo-82abd79e472da2085e1c05785d87c76de87d017b.tar.gz
gentoo-82abd79e472da2085e1c05785d87c76de87d017b.tar.bz2
gentoo-82abd79e472da2085e1c05785d87c76de87d017b.zip
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 <alexey+gentoo@asokolov.org> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-cdr/bchunk')
-rw-r--r--app-cdr/bchunk/bchunk-1.2.2.ebuild9
1 files changed, 9 insertions, 0 deletions
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"