diff options
-rw-r--r-- | dev-ml/OCaml-ImageMagick/OCaml-ImageMagick-0.34-r1.ebuild | 6 |
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 |