diff options
author | 2010-06-01 19:24:12 +0000 | |
---|---|---|
committer | 2010-06-01 19:24:12 +0000 | |
commit | 9030d8503066ec7af5e83170becdb8a6bb58de0a (patch) | |
tree | edd0f27ee53735e42b90735f526c57fe98600e27 /app-misc/booh/booh-0.9.2.2.ebuild | |
parent | Version bump (diff) | |
download | gentoo-2-9030d8503066ec7af5e83170becdb8a6bb58de0a.tar.gz gentoo-2-9030d8503066ec7af5e83170becdb8a6bb58de0a.tar.bz2 gentoo-2-9030d8503066ec7af5e83170becdb8a6bb58de0a.zip |
Fix compilation against latest dev-lang/ruby ebuild. Link against stdc++. Fix insecure RUNPATH.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/booh/booh-0.9.2.2.ebuild')
-rw-r--r-- | app-misc/booh/booh-0.9.2.2.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app-misc/booh/booh-0.9.2.2.ebuild b/app-misc/booh/booh-0.9.2.2.ebuild index f83c5770e979..0784c739ace0 100644 --- a/app-misc/booh/booh-0.9.2.2.ebuild +++ b/app-misc/booh/booh-0.9.2.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/booh/booh-0.9.2.2.ebuild,v 1.3 2010/04/24 19:22:30 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/booh/booh-0.9.2.2.ebuild,v 1.4 2010/06/01 19:24:11 graaff Exp $ EAPI="2" @@ -30,6 +30,7 @@ RDEPEND="${DEPEND} src_prepare() { epatch "${FILESDIR}"/${PN}-0.9.1-require_gems.patch + epatch "${FILESDIR}"/${P}-stdc.patch # Remove scripts requiring gtk if gtk is not used if ! use gtk; then @@ -43,6 +44,8 @@ src_configure() { ruby setup.rb setup || die "ruby setup.rb setup failed" cd ext ruby extconf.rb || die "ruby extconf.rb failed" + sed -i -e 's:-Wl,--no-undefined ::' Makefile || die "--no-undefined removal failed" + sed -i -e 's:-Wl,-R$(libdir)::' -e 's:-Wl,-R -Wl,$(libdir)::' Makefile || die "Fix insecure RUNPATH failed" } src_install() { |