summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2006-08-03 16:03:11 +0000
committerMamoru Komachi <usata@gentoo.org>2006-08-03 16:03:11 +0000
commit9ab7f5db14d9dbe56536818ba0eedbee00561f2e (patch)
treeb4cab2ba467fd3a4713e8dacaa756b2c2f761e6b /dev-ruby
parentChange arch and ~arch keywords (diff)
downloadgentoo-2-9ab7f5db14d9dbe56536818ba0eedbee00561f2e.tar.gz
gentoo-2-9ab7f5db14d9dbe56536818ba0eedbee00561f2e.tar.bz2
gentoo-2-9ab7f5db14d9dbe56536818ba0eedbee00561f2e.zip
Fixed glib linkage error with recent ruby.eclass.
(Portage version: 2.1-r1)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/sary-ruby/ChangeLog5
-rw-r--r--dev-ruby/sary-ruby/sary-ruby-1.2.0.ebuild10
2 files changed, 12 insertions, 3 deletions
diff --git a/dev-ruby/sary-ruby/ChangeLog b/dev-ruby/sary-ruby/ChangeLog
index 6b6f31ad9338..40ee27f16fa5 100644
--- a/dev-ruby/sary-ruby/ChangeLog
+++ b/dev-ruby/sary-ruby/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-ruby/sary-ruby
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/ChangeLog,v 1.23 2006/02/09 00:28:31 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/ChangeLog,v 1.24 2006/08/03 16:03:11 usata Exp $
+
+ 03 Aug 2006; Mamoru KOMACHI <usata@gentoo.org> sary-ruby-1.2.0.ebuild:
+ Fixed glib linkage error with recent ruby.eclass.
04 Feb 2006; <solar@gentoo.org> :
- redigest needed due to bad RMD160. bug #121124
diff --git a/dev-ruby/sary-ruby/sary-ruby-1.2.0.ebuild b/dev-ruby/sary-ruby/sary-ruby-1.2.0.ebuild
index b86ebcad3038..7c48f9f66601 100644
--- a/dev-ruby/sary-ruby/sary-ruby-1.2.0.ebuild
+++ b/dev-ruby/sary-ruby/sary-ruby-1.2.0.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/sary-ruby-1.2.0.ebuild,v 1.8 2006/01/31 20:23:11 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sary-ruby/sary-ruby-1.2.0.ebuild,v 1.9 2006/08/03 16:03:11 usata Exp $
-inherit ruby
+inherit ruby flag-o-matic
IUSE=""
@@ -23,3 +23,9 @@ src_unpack() {
unpack ${A}
rm -rf ${S}/debian # workaround for ruby19
}
+
+src_compile() {
+ append-flags `pkg-config sary --cflags`
+ append-ldflags `pkg-config sary --libs`
+ ruby_src_compile || die
+}