summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2009-03-28 18:25:11 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2009-03-28 18:25:11 +0000
commit936d2a4c48394d73eb336eca43050ab5ccb25a38 (patch)
treecf7e32a0f904a06c2fefaef082deb1d97d8b0cf4 /dev-scheme
parentRe-add ~sh, and mark ~alpha, since this compiles now (diff)
downloadgentoo-2-936d2a4c48394d73eb336eca43050ab5ccb25a38.tar.gz
gentoo-2-936d2a4c48394d73eb336eca43050ab5ccb25a38.tar.bz2
gentoo-2-936d2a4c48394d73eb336eca43050ab5ccb25a38.zip
Passing LDFLAGS to C linker via -cclib. Bug #239574
(Portage version: 2.2_rc27/cvs/Linux x86_64)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/schoca/ChangeLog7
-rw-r--r--dev-scheme/schoca/schoca-0.3.0.ebuild7
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-scheme/schoca/ChangeLog b/dev-scheme/schoca/ChangeLog
index b6a712bf0c3f..9a178af39b93 100644
--- a/dev-scheme/schoca/ChangeLog
+++ b/dev-scheme/schoca/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-scheme/schoca
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/schoca/ChangeLog,v 1.2 2008/01/17 19:35:08 aballier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/schoca/ChangeLog,v 1.3 2009/03/28 18:25:11 vadimk Exp $
+
+ 28 Mar 2009; Vadim Kuznetsov vadimk@gentoo.org schoca-0.3.0.ebuild:
+ Passing LDFLAGS to C linker via -cclib. Bug #239574
17 Jan 2008; Alexis Ballier <aballier@gentoo.org> schoca-0.3.0.ebuild:
Add support to build without ocamlopt, install in findlib destdir, install
diff --git a/dev-scheme/schoca/schoca-0.3.0.ebuild b/dev-scheme/schoca/schoca-0.3.0.ebuild
index 97b2f0dc1241..9cdb2cb759cd 100644
--- a/dev-scheme/schoca/schoca-0.3.0.ebuild
+++ b/dev-scheme/schoca/schoca-0.3.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/schoca/schoca-0.3.0.ebuild,v 1.2 2008/01/17 19:35:08 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/schoca/schoca-0.3.0.ebuild,v 1.3 2009/03/28 18:25:11 vadimk Exp $
EAPI="1"
@@ -16,7 +16,7 @@ HOMEPAGE="http://home.arcor.de/chr_bauer/schoca.html
SRC_URI="mirror://sourceforge/chesslib/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~x86"
IUSE="+ocamlopt"
DEPEND="dev-ml/findlib"
@@ -36,6 +36,7 @@ src_unpack() {
cp OCaml.mk OCaml.mk.old
sed "s:\$(CFLAGS):\$(CCFLAGS):g" -i OCaml.mk
sed "s:CCFLAGS= -ccopt -O2:CCFLAGS= -ccopt \"${CFLAGS}\":" -i OCaml.mk
+ sed -i -e "s:\$(LDFLAGS):-cclib \"${LDFLAGS}\":" OCaml.mk
sed -i -e "s:DESTDURFLAG:DESTDIRFLAG:" OCaml.mk
if ! use ocamlopt; then
sed -i -e 's/ \$(PROGRAM)\.opt/ \$(PROGRAM)/' OCaml.mk || die "sed failed"