summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Brown <rbrown@gentoo.org>2007-09-18 17:14:18 +0000
committerRichard Brown <rbrown@gentoo.org>2007-09-18 17:14:18 +0000
commitf8e43824726a6796169d8b49a88630507955c353 (patch)
tree3086d4482156aa8559a4dcedfe302be9abe6accf /dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild
parentInitial ebuild based upon bug 86017. Thanks to Serhij S. Stasyuk. (diff)
downloadhistorical-f8e43824726a6796169d8b49a88630507955c353.tar.gz
historical-f8e43824726a6796169d8b49a88630507955c353.tar.bz2
historical-f8e43824726a6796169d8b49a88630507955c353.zip
Fix compile when ruby has USE="cjk". Bug #191203 thanks to : Brenden Matthews. Keyword ~amd64
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild')
-rw-r--r--dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild16
1 files changed, 11 insertions, 5 deletions
diff --git a/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild b/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild
index 10a71be20d3b..104b8f029064 100644
--- a/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild
+++ b/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild,v 1.1 2007/01/08 21:44:26 twp Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-mmap/ruby-mmap-0.2.6.ebuild,v 1.2 2007/09/18 17:14:18 rbrown Exp $
inherit ruby
@@ -15,13 +15,19 @@ SRC_URI="ftp://moulon.inra.fr/pub/ruby/${MY_P}.tar.gz"
SLOT="0"
USE_RUBY="ruby18 ruby19"
LICENSE="Ruby"
-KEYWORDS="~alpha ~ia64 ~ppc ~sparc ~x86"
-
-DEPEND=">=dev-lang/ruby-1.8"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
S=${WORKDIR}/${MY_P}
-src_compile() {
+src_unpack() {
+ unpack ${A}
+ if built_with_use dev-lang/ruby cjk; then
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-oniguruma_rb_reg_regsub.patch"
+ fi
+}
+
+src_compile() {
ruby_src_compile all rdoc || die
}