diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2008-12-08 16:39:11 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2008-12-08 16:39:11 +0000 |
commit | bb30ade62b4468b0990699a3164bde1d09ae54df (patch) | |
tree | e7477a8eadc85c520aaeb1b7df7a6d892a9ecc09 /gnustep-apps/terminal/terminal-0.9.5_pre20060324-r1.ebuild | |
parent | alpha/sparc stable wrt #245316 (diff) | |
download | gentoo-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/terminal-0.9.5_pre20060324-r1.ebuild')
-rw-r--r-- | gnustep-apps/terminal/terminal-0.9.5_pre20060324-r1.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
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" } |