summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-12-23 10:50:25 +0000
committerUlrich Müller <ulm@gentoo.org>2010-12-23 10:50:25 +0000
commite8cf3d7acdd1b88ad1cb50555d54ed8c6887f31d (patch)
tree0b9eb90ba90beb5c38f645df36970a387354dfd1 /app-emulation/xtrs
parentamd64 stable wrt #344827 (diff)
downloadgentoo-2-e8cf3d7acdd1b88ad1cb50555d54ed8c6887f31d.tar.gz
gentoo-2-e8cf3d7acdd1b88ad1cb50555d54ed8c6887f31d.tar.bz2
gentoo-2-e8cf3d7acdd1b88ad1cb50555d54ed8c6887f31d.zip
Fix bug 337941 properly.
(Portage version: 2.1.9.25/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/xtrs')
-rw-r--r--app-emulation/xtrs/ChangeLog5
-rw-r--r--app-emulation/xtrs/xtrs-4.9d.ebuild8
2 files changed, 11 insertions, 2 deletions
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 <ulm@gentoo.org> xtrs-4.9d.ebuild:
+ Fix bug 337941 properly.
18 Sep 2010; Ulrich Mueller <ulm@gentoo.org> -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}" \