From b026325b90ac399508b1581962637f592459156e Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Thu, 4 Jan 2007 00:40:44 +0000 Subject: Use MZSCHEME_DYNEXT_LINKER_FLAGS instead of modifying LDFLAGS, fixes bug #156911. Thanks to "TGL" for the fix. (Portage version: 2.1.2_rc4-r5) --- dev-scheme/drscheme/ChangeLog | 6 +++++- dev-scheme/drscheme/drscheme-360-r1.ebuild | 9 +++------ 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'dev-scheme') 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 drscheme-360-r1.ebuild: + Use MZSCHEME_DYNEXT_LINKER_FLAGS instead of modifying LDFLAGS, fixes bug + #156911. Thanks to "TGL" for the fix. 04 Jan 2007; Patrick McLean 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 -- cgit v1.2.3-65-gdbad