summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2007-01-04 00:40:44 +0000
committerPatrick McLean <chutzpah@gentoo.org>2007-01-04 00:40:44 +0000
commitb026325b90ac399508b1581962637f592459156e (patch)
treec142ede5789257f09cedc6dcc793de1692a13f64 /dev-scheme
parentStable on Alpha, bug 159562. (diff)
downloadgentoo-2-b026325b90ac399508b1581962637f592459156e.tar.gz
gentoo-2-b026325b90ac399508b1581962637f592459156e.tar.bz2
gentoo-2-b026325b90ac399508b1581962637f592459156e.zip
Use MZSCHEME_DYNEXT_LINKER_FLAGS instead of modifying LDFLAGS, fixes bug #156911. Thanks to "TGL" <degrenier@easyconnect.fr> for the fix.
(Portage version: 2.1.2_rc4-r5)
Diffstat (limited to 'dev-scheme')
-rw-r--r--dev-scheme/drscheme/ChangeLog6
-rw-r--r--dev-scheme/drscheme/drscheme-360-r1.ebuild9
2 files changed, 8 insertions, 7 deletions
diff --git a/dev-scheme/drscheme/ChangeLog b/dev-scheme/drscheme/ChangeLog
index 323578033b06..b14a7e4cad51 100644
--- a/dev-scheme/drscheme/ChangeLog
+++ b/dev-scheme/drscheme/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-scheme/drscheme
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.40 2007/01/04 00:35:28 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/ChangeLog,v 1.41 2007/01/04 00:40:44 chutzpah Exp $
+
+ 04 Jan 2007; Patrick McLean <chutzpah@gentoo.org> drscheme-360-r1.ebuild:
+ Use MZSCHEME_DYNEXT_LINKER_FLAGS instead of modifying LDFLAGS, fixes bug
+ #156911. Thanks to "TGL" <degrenier@easyconnect.fr> for the fix.
04 Jan 2007; Patrick McLean <chutzpah@gentoo.org> drscheme-352-r2.ebuild,
-drscheme-360.ebuild, drscheme-360-r1.ebuild:
diff --git a/dev-scheme/drscheme/drscheme-360-r1.ebuild b/dev-scheme/drscheme/drscheme-360-r1.ebuild
index 3690680a0a46..2a79c18c203e 100644
--- a/dev-scheme/drscheme/drscheme-360-r1.ebuild
+++ b/dev-scheme/drscheme/drscheme-360-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-360-r1.ebuild,v 1.2 2007/01/04 00:35:28 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-scheme/drscheme/drscheme-360-r1.ebuild,v 1.3 2007/01/04 00:40:44 chutzpah Exp $
inherit eutils multilib flag-o-matic libtool
@@ -45,11 +45,6 @@ src_unpack() {
}
src_compile() {
- # needed because drschme uses it's own linker that passes LDFLAGS directly
- # to the linker, rather than passing it through gcc
- LDFLAGS="${LDFLAGS//-Wl/}"
- LDFLAGS="${LDFLAGS//,/ }"
-
# -O3 seems to cause some miscompiles, this should fix #141925 and #133888
replace-flags -O? -O2
@@ -73,6 +68,8 @@ src_compile() {
}
src_install() {
+ export MZSCHEME_DYNEXT_LINKER_FLAGS=$(raw-ldflags)
+
make DESTDIR="${D}" install || die "make install failed"
if use 3m; then