summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2010-08-10 15:43:58 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2010-08-10 15:43:58 +0000
commitd31897957e3c6f29c49b6f00cc8e72333a5323e2 (patch)
treef2fb3803aed21f94322c584be485b2efce450258 /dev-scheme
parentMask features that need GNOME (bug #331905) (diff)
downloadgentoo-2-d31897957e3c6f29c49b6f00cc8e72333a5323e2.tar.gz
gentoo-2-d31897957e3c6f29c49b6f00cc8e72333a5323e2.tar.bz2
gentoo-2-d31897957e3c6f29c49b6f00cc8e72333a5323e2.zip
Respect LDFLAGS wrt bug 332007. Thanks to Diego for report.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/scheme48/ChangeLog8
-rw-r--r--dev-scheme/scheme48/scheme48-1.8-r1.ebuild17
2 files changed, 15 insertions, 10 deletions
diff --git a/dev-scheme/scheme48/ChangeLog b/dev-scheme/scheme48/ChangeLog
index 1cd381597659..f1b7613ab47e 100644
--- a/dev-scheme/scheme48/ChangeLog
+++ b/dev-scheme/scheme48/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-scheme/scheme48
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/ChangeLog,v 1.11 2008/07/09 18:15:46 pchrist Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/ChangeLog,v 1.12 2010/08/10 15:43:58 xarthisius Exp $
+
+ 10 Aug 2010; Kacper Kowalik <xarthisius@gentoo.org>
+ scheme48-1.8-r1.ebuild:
+ Respect LDFLAGS wrt bug 332007. Thanks to Diego for report.
*scheme48-1.8-r1 (09 Jul 2008)
diff --git a/dev-scheme/scheme48/scheme48-1.8-r1.ebuild b/dev-scheme/scheme48/scheme48-1.8-r1.ebuild
index c18f9bbb7d15..e2f0fa0b4fad 100644
--- a/dev-scheme/scheme48/scheme48-1.8-r1.ebuild
+++ b/dev-scheme/scheme48/scheme48-1.8-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/scheme48-1.8-r1.ebuild,v 1.1 2008/07/09 18:15:47 pchrist Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/scheme48/scheme48-1.8-r1.ebuild,v 1.2 2010/08/10 15:43:58 xarthisius Exp $
inherit elisp-common multilib eutils flag-o-matic
@@ -21,11 +21,12 @@ src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-as-needed+fix_destdir.patch"
+ sed -i -e "s/\$(LD) /&\$(LFLAGS) /" Makefile.in || die #332007
}
src_compile() {
- econf || die "econf failed"
- emake || die "emake failed"
+ econf
+ emake LFLAGS="$(raw-ldflags)" || die
if use emacs; then
elisp-compile "${S}"/emacs/cmuscheme48.el
fi
@@ -40,12 +41,12 @@ src_install() {
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
fi
- dodoc README INSTALL
+ dodoc README || die
if use doc; then
- dodoc doc/manual.ps doc/manual.pdf doc/*.txt
- dohtml -r doc/html/*
+ dodoc doc/manual.ps doc/manual.pdf doc/*.txt || die
+ dohtml -r doc/html/* || die
docinto src
- dodoc doc/src/*
+ dodoc doc/src/* || die
fi
#this symlink clashes with gambit