summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2014-12-01 16:33:19 +0000
committerAlexis Ballier <aballier@gentoo.org>2014-12-01 16:33:19 +0000
commit0774d635131f51836ae17208cd8fe5d76412b2c9 (patch)
tree835b055a58b3171b10a6a91733726415eb7165c1 /dev-lang/ocaml
parentAdd one more contributor to the list in the first ChangeLog entry. (diff)
downloadgentoo-2-0774d635131f51836ae17208cd8fe5d76412b2c9.tar.gz
gentoo-2-0774d635131f51836ae17208cd8fe5d76412b2c9.tar.bz2
gentoo-2-0774d635131f51836ae17208cd8fe5d76412b2c9.zip
specify host & target to help cross-compiling, unfortunately it is not sufficient due to tryrun like constructs
Signed-off-by: aballier@gentoo.org (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-lang/ocaml')
-rw-r--r--dev-lang/ocaml/ChangeLog6
-rw-r--r--dev-lang/ocaml/ocaml-4.02.1.ebuild8
2 files changed, 10 insertions, 4 deletions
diff --git a/dev-lang/ocaml/ChangeLog b/dev-lang/ocaml/ChangeLog
index 2c5488407aae..784c8ec23999 100644
--- a/dev-lang/ocaml/ChangeLog
+++ b/dev-lang/ocaml/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/ocaml
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.221 2014/12/01 10:36:11 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ChangeLog,v 1.222 2014/12/01 16:33:19 aballier Exp $
+
+ 01 Dec 2014; Alexis Ballier <aballier@gentoo.org> ocaml-4.02.1.ebuild:
+ specify host & target to help cross-compiling, unfortunately it is not
+ sufficient due to tryrun like constructs
01 Dec 2014; Alexis Ballier <aballier@gentoo.org> -ocaml-4.00.1-r1.ebuild:
remove old
diff --git a/dev-lang/ocaml/ocaml-4.02.1.ebuild b/dev-lang/ocaml/ocaml-4.02.1.ebuild
index 92b8b7964acc..6d56b69c2b21 100644
--- a/dev-lang/ocaml/ocaml-4.02.1.ebuild
+++ b/dev-lang/ocaml/ocaml-4.02.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-4.02.1.ebuild,v 1.1 2014/11/28 15:42:01 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/ocaml/ocaml-4.02.1.ebuild,v 1.2 2014/12/01 16:33:19 aballier Exp $
EAPI="5"
@@ -62,11 +62,13 @@ src_configure() {
use X || myconf="${myconf} -no-graph"
# ocaml uses a home-brewn configure script, preventing it to use econf.
- RAW_LDFLAGS="$(raw-ldflags)" ./configure -prefix "${EPREFIX}"/usr \
+ RAW_LDFLAGS="$(raw-ldflags)" ./configure \
+ --prefix "${EPREFIX}"/usr \
--bindir "${EPREFIX}"/usr/bin \
--libdir "${EPREFIX}"/usr/$(get_libdir)/ocaml \
--mandir "${EPREFIX}"/usr/share/man \
- -host "${CHOST}" \
+ -target "${CHOST}" \
+ -host "${CBUILD}" \
-cc "$(tc-getCC)" \
-as "$(tc-getAS)" \
-aspp "$(tc-getCC) -c" \