summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-03-27 18:21:11 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-03-29 00:18:21 +0200
commit6e71ae0d3076e9daf8d4ef721a76573e7ca6d6ca (patch)
tree4af38eece50b237d42de07a02960128815bd99bd /dev-ml/OCaml-ImageMagick
parentapp-misc/lirc: Correctly set the license to GPLv2+ (was incorrectly set to GP... (diff)
downloadgentoo-6e71ae0d3076e9daf8d4ef721a76573e7ca6d6ca.tar.gz
gentoo-6e71ae0d3076e9daf8d4ef721a76573e7ca6d6ca.tar.bz2
gentoo-6e71ae0d3076e9daf8d4ef721a76573e7ca6d6ca.zip
dev-ml/OCaml-ImageMagick: Honour CC
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/OCaml-ImageMagick')
-rw-r--r--dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild b/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild
index f33b2771db59..c52f9249f0d2 100644
--- a/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild
+++ b/dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=6
-inherit findlib
+inherit findlib toolchain-funcs
DESCRIPTION="Provide the ImageMagick methods to OCaml"
HOMEPAGE="http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/"
@@ -20,6 +20,10 @@ DEPEND="media-gfx/imagemagick:=
dev-lang/ocaml:=[ocamlopt]"
RDEPEND="${DEPEND}"
+src_configure() {
+ sed -e "s/gcc/$(tc-getCC)/" -i Makefile || die
+}
+
src_install() {
findlib_src_preinst
emake find_install