diff options
author | Naohiro Aota <naota@gentoo.org> | 2011-05-29 13:43:16 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2011-05-29 13:43:16 +0000 |
commit | 764e15d2f6ec4648d70ff7a5acaf34b5ff6eee08 (patch) | |
tree | ed00d82a8e1af165a3c0dd2cd3ce283c9999abce /eclass | |
parent | New package dev-ruby/ruby-goocanvas. Dependency for bug #345721 (diff) | |
download | historical-764e15d2f6ec4648d70ff7a5acaf34b5ff6eee08.tar.gz historical-764e15d2f6ec4648d70ff7a5acaf34b5ff6eee08.tar.bz2 historical-764e15d2f6ec4648d70ff7a5acaf34b5ff6eee08.zip |
Ensure LDFLAGS usage
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ruby-ng-gnome2.eclass | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass index 720cd3b332ea..1d9b69c09ccf 100644 --- a/eclass/ruby-ng-gnome2.eclass +++ b/eclass/ruby-ng-gnome2.eclass @@ -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/eclass/ruby-ng-gnome2.eclass,v 1.5 2010/12/15 12:38:47 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng-gnome2.eclass,v 1.6 2011/05/29 13:43:16 naota Exp $ # # @ECLASS: ruby-ng-gnome2.eclass # @MAINTAINER: @@ -43,7 +43,9 @@ each_ruby_compile() { # unfortunately rely on the lazy load of other extensions; see bug # #320545. find . -name Makefile -print0 | xargs -0 \ - sed -i -e 's:-Wl,--no-undefined ::' || die "--no-undefined removal failed" + sed -i -e 's:-Wl,--no-undefined ::' \ + -e "s/^ldflags = /ldflags = $\(LDFLAGS\) /" \ + || die "--no-undefined removal failed" emake || die "emake failed" } |