- Use rubygem-gettext instead of ruby-gettext
- Fix build with Ruby 1.9
This commit is contained in:
parent
7ad26b5b78
commit
f616298cb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277013
2 changed files with 13 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= rbbr
|
||||
PORTVERSION= 0.6.0
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= devel ruby
|
||||
MASTER_SITES= SF/ruby-gnome2/${PORTNAME}/${PORTNAME}-${PORTVERSION}
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
@ -17,9 +17,9 @@ DIST_SUBDIR= ruby
|
|||
MAINTAINER= ruby@FreeBSD.org
|
||||
COMMENT= A GTK+2-based Ruby module browser
|
||||
|
||||
BUILD_DEPENDS= ${RUBY_SITELIBDIR}/gettext.rb:${PORTSDIR}/devel/ruby-gettext
|
||||
BUILD_DEPENDS= rubygem-gettext>0:${PORTSDIR}/devel/rubygem-gettext
|
||||
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
|
||||
${RUBY_SITELIBDIR}/gettext.rb:${PORTSDIR}/devel/ruby-gettext
|
||||
rubygem-gettext>0:${PORTSDIR}/devel/rubygem-gettext
|
||||
|
||||
USE_GETTEXT= yes
|
||||
USE_RUBY= yes
|
||||
|
|
10
devel/ruby-rbbr/files/patch-pre-setup_rb
Normal file
10
devel/ruby-rbbr/files/patch-pre-setup_rb
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- pre-setup.rb.orig 2011-07-03 13:33:30.719509068 -0400
|
||||
+++ pre-setup.rb 2011-07-03 13:33:32.614509597 -0400
|
||||
@@ -21,6 +21,7 @@
|
||||
# Create mo files.
|
||||
#
|
||||
begin
|
||||
+ require 'rubygems'
|
||||
require 'gettext'
|
||||
|
||||
Dir.glob("po/*/*.po") do |file|
|
Loading…
Reference in a new issue