diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-21 14:33:49 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-12-21 14:33:49 +0000 |
commit | 79311c588aac0521f7ea8ba82a2da250bbac43ba (patch) | |
tree | 57ae14532f30b0e2265d480a36f095bf85b1d1dc /dev-scheme | |
parent | alpha/ia64/sparc stable wrt #297388 (diff) | |
download | gentoo-2-79311c588aac0521f7ea8ba82a2da250bbac43ba.tar.gz gentoo-2-79311c588aac0521f7ea8ba82a2da250bbac43ba.tar.bz2 gentoo-2-79311c588aac0521f7ea8ba82a2da250bbac43ba.zip |
Fix building with -Wl,--as-needed wrt #278083 by Kacper Kowalik.
(Portage version: 2.2_rc59/cvs/Linux x86_64)
Diffstat (limited to 'dev-scheme')
-rw-r--r-- | dev-scheme/ypsilon/ChangeLog | 6 | ||||
-rw-r--r-- | dev-scheme/ypsilon/files/ypsilon-0.9.6_p3-asneeded.patch | 11 | ||||
-rw-r--r-- | dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild | 10 |
3 files changed, 24 insertions, 3 deletions
diff --git a/dev-scheme/ypsilon/ChangeLog b/dev-scheme/ypsilon/ChangeLog index c79003c1153e..80a1d190d5b0 100644 --- a/dev-scheme/ypsilon/ChangeLog +++ b/dev-scheme/ypsilon/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-scheme/ypsilon # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ChangeLog,v 1.1 2009/04/20 23:54:37 vadimk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ChangeLog,v 1.2 2009/12/21 14:33:49 ssuominen Exp $ + + 21 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> + ypsilon-0.9.6_p3.ebuild, +files/ypsilon-0.9.6_p3-asneeded.patch: + Fix building with -Wl,--as-needed wrt #278083 by Kacper Kowalik. *ypsilon-0.9.6_p3 (20 Apr 2009) diff --git a/dev-scheme/ypsilon/files/ypsilon-0.9.6_p3-asneeded.patch b/dev-scheme/ypsilon/files/ypsilon-0.9.6_p3-asneeded.patch new file mode 100644 index 000000000000..4769fce6c25c --- /dev/null +++ b/dev-scheme/ypsilon/files/ypsilon-0.9.6_p3-asneeded.patch @@ -0,0 +1,11 @@ +--- ypsilon-0.9.6.update3.orig/Makefile 2008-12-23 09:56:02.000000000 +0100 ++++ ypsilon-0.9.6.update3/Makefile 2009-10-21 18:14:37.613881129 +0200 +@@ -126,7 +126,7 @@ + @mkdir -p -m755 $(HOME)/.ypsilon + + $(PROG): $(OBJS) +- $(CXX) $(LDFLAGS) $(LDLIBS) -o $@ $^ ++ $(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS) + + vm1.s: vm1.cpp + $(CXX) $(CXXFLAGS) $(CPPFLAGS) \ diff --git a/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild b/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild index d28faa544fc2..2a2bda778377 100644 --- a/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild +++ b/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild,v 1.1 2009/04/20 23:54:37 vadimk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-scheme/ypsilon/ypsilon-0.9.6_p3.ebuild,v 1.2 2009/12/21 14:33:49 ssuominen Exp $ inherit eutils flag-o-matic toolchain-funcs @@ -17,7 +17,13 @@ IUSE="examples threads" DEPEND="" RDEPEND="${DEPEND}" -S="${WORKDIR}/${MY_P}" +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-asneeded.patch +} src_compile() { use threads && append-flags "-pthread" |