From e8cf3d7acdd1b88ad1cb50555d54ed8c6887f31d Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Thu, 23 Dec 2010 10:50:25 +0000 Subject: Fix bug 337941 properly. (Portage version: 2.1.9.25/cvs/Linux x86_64) --- app-emulation/xtrs/ChangeLog | 5 ++++- app-emulation/xtrs/xtrs-4.9d.ebuild | 8 +++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'app-emulation/xtrs') diff --git a/app-emulation/xtrs/ChangeLog b/app-emulation/xtrs/ChangeLog index 4cad4f3bee8d..fd7f8ad37c5c 100644 --- a/app-emulation/xtrs/ChangeLog +++ b/app-emulation/xtrs/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-emulation/xtrs # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.38 2010/09/18 15:01:37 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/ChangeLog,v 1.39 2010/12/23 10:50:25 ulm Exp $ + + 23 Dec 2010; Ulrich Mueller xtrs-4.9d.ebuild: + Fix bug 337941 properly. 18 Sep 2010; Ulrich Mueller -xtrs-4.9c-r2.ebuild, -files/xtrs-4.9c-gentoo.patch, -files/xtrs-4.9c-newdos-datetime.patch, diff --git a/app-emulation/xtrs/xtrs-4.9d.ebuild b/app-emulation/xtrs/xtrs-4.9d.ebuild index a62a1516789c..7938ff4c0e4b 100644 --- a/app-emulation/xtrs/xtrs-4.9d.ebuild +++ b/app-emulation/xtrs/xtrs-4.9d.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/xtrs-4.9d.ebuild,v 1.6 2010/09/18 15:01:37 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/xtrs/xtrs-4.9d.ebuild,v 1.7 2010/12/23 10:50:25 ulm Exp $ + +EAPI=3 inherit flag-o-matic toolchain-funcs @@ -19,6 +21,10 @@ DEPEND="sys-libs/ncurses >=x11-libs/libX11-1.0.0" RDEPEND="${DEPEND}" +src_prepare() { + sed -i -e 's/$(CC) -o/$(CC) $(LDFLAGS) -o/' Makefile || die +} + src_compile() { use ppc && append-flags -Dbig_endian emake CC="$(tc-getCC)" DEBUG="${CFLAGS}" LDFLAGS="${LDFLAGS}" \ -- cgit v1.2.3-65-gdbad