diff options
Diffstat (limited to 'dev-ml/num/num-1.3.ebuild')
-rw-r--r-- | dev-ml/num/num-1.3.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-ml/num/num-1.3.ebuild b/dev-ml/num/num-1.3.ebuild index 0f68ec7d75bf..8cea14497085 100644 --- a/dev-ml/num/num-1.3.ebuild +++ b/dev-ml/num/num-1.3.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/ocaml/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1-with-linking-exception" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="" DEPEND=">=dev-lang/ocaml-4.09.0[ocamlopt] @@ -19,6 +19,14 @@ DEPEND=">=dev-lang/ocaml-4.09.0[ocamlopt] RDEPEND="${DEPEND}" BDEPEND="${DEPEND}" +PATCHES=( + "${FILESDIR}"/${P}-cflags.patch +) + +src_compile() { + emake CFLAGS="${CFLAGS}" +} + src_install() { findlib_src_preinst OCAMLPATH="${OCAMLFIND_DESTDIR}" emake install DESTDIR="${D}" |