summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2008-12-08 16:39:11 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2008-12-08 16:39:11 +0000
commitbb30ade62b4468b0990699a3164bde1d09ae54df (patch)
treee7477a8eadc85c520aaeb1b7df7a6d892a9ecc09 /gnustep-apps/terminal
parentalpha/sparc stable wrt #245316 (diff)
downloadgentoo-2-bb30ade62b4468b0990699a3164bde1d09ae54df.tar.gz
gentoo-2-bb30ade62b4468b0990699a3164bde1d09ae54df.tar.bz2
gentoo-2-bb30ade62b4468b0990699a3164bde1d09ae54df.zip
Fix compilation with --as-needed, bug #250173
(Portage version: 2.2_rc17/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'gnustep-apps/terminal')
-rw-r--r--gnustep-apps/terminal/ChangeLog6
-rw-r--r--gnustep-apps/terminal/terminal-0.9.5_pre20060324-r1.ebuild5
2 files changed, 9 insertions, 2 deletions
diff --git a/gnustep-apps/terminal/ChangeLog b/gnustep-apps/terminal/ChangeLog
index 060b760cfc84..3f734a62ebff 100644
--- a/gnustep-apps/terminal/ChangeLog
+++ b/gnustep-apps/terminal/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnustep-apps/terminal
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/terminal/ChangeLog,v 1.19 2008/03/08 13:52:55 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/terminal/ChangeLog,v 1.20 2008/12/08 16:39:11 voyageur Exp $
+
+ 08 Dec 2008; Bernard Cafarelli <voyageur@gentoo.org>
+ terminal-0.9.5_pre20060324-r1.ebuild:
+ Fix compilation with --as-needed, bug #250173
08 Mar 2008; Santiago M. Mola <coldwind@gentoo.org>
terminal-0.9.5_pre20060324-r1.ebuild:
diff --git a/gnustep-apps/terminal/terminal-0.9.5_pre20060324-r1.ebuild b/gnustep-apps/terminal/terminal-0.9.5_pre20060324-r1.ebuild
index f2bf0fbc1d9f..f87a26b8ae11 100644
--- a/gnustep-apps/terminal/terminal-0.9.5_pre20060324-r1.ebuild
+++ b/gnustep-apps/terminal/terminal-0.9.5_pre20060324-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/terminal/terminal-0.9.5_pre20060324-r1.ebuild,v 1.5 2008/03/08 13:52:55 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnustep-apps/terminal/terminal-0.9.5_pre20060324-r1.ebuild,v 1.6 2008/12/08 16:39:11 voyageur Exp $
inherit gnustep-2
@@ -13,6 +13,7 @@ SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="amd64 ppc x86 ~x86-fbsd"
SLOT="0"
+IUSE=""
src_unpack() {
unpack ${A}
@@ -21,4 +22,6 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-solaris.patch
epatch "${FILESDIR}"/${P}-size_t.patch
epatch "${FILESDIR}"/${P}-gnustep-base1.15.patch
+ # Correct link command for --as-needed
+ sed -i -e "s/Terminal_LDFLAGS/ADDITIONAL_TOOL_LIBS/" GNUmakefile || die "sed failed"
}