mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
www/tdiary: Fix runtime error with Ruby 3.4
Our lang/ruby34 port doesn't include base64 gem. So * Add converters/rubygem-base64 to RUN_DEPENDS. * Add "gem 'base64'" to Gemfile. While here, add 'ruby' to USES as tDiary is written in Ruby.
This commit is contained in:
parent
438427bea8
commit
91f3ff141c
2 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= tdiary
|
||||
DISTVERSION= 5.3.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES?= www ruby
|
||||
MASTER_SITES= https://github.com/tdiary/tdiary-core/releases/download/v${PORTVERSION}/
|
||||
DISTNAME= ${PORTNAME}-full-v${PORTVERSION}
|
||||
|
@ -12,7 +12,8 @@ WWW= https://www.tdiary.org/
|
|||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= rubygem-bundler>=2.0.2:sysutils/rubygem-bundler \
|
||||
RUN_DEPENDS= rubygem-base64>0:converters/rubygem-base64 \
|
||||
rubygem-bundler>=2.0.2:sysutils/rubygem-bundler \
|
||||
rubygem-emot>=0.0.4:textproc/rubygem-emot \
|
||||
rubygem-fastimage>=2.2.6:graphics/rubygem-fastimage \
|
||||
rubygem-hikidoc>=0.1.0:textproc/rubygem-hikidoc \
|
||||
|
@ -22,7 +23,7 @@ RUN_DEPENDS= rubygem-bundler>=2.0.2:sysutils/rubygem-bundler \
|
|||
rubygem-rackup21>=0.2.3:www/rubygem-rackup21 \
|
||||
rubygem-rake>=13.0.6:devel/rubygem-rake
|
||||
|
||||
USES= cpe shebangfix
|
||||
USES= cpe ruby shebangfix
|
||||
|
||||
SHEBANG_FILES= bin/tdiary index.fcgi index.rb misc/convert2.rb misc/migrate.rb \
|
||||
misc/plugin/xmlrpc/xmlrpc.rb update.fcgi update.rb
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- Gemfile.orig 2024-02-29 06:16:41 UTC
|
||||
+++ Gemfile
|
||||
@@ -7,34 +7,3 @@ gem 'rake'
|
||||
@@ -7,34 +7,4 @@ gem 'rake'
|
||||
gem 'emot'
|
||||
gem 'mail'
|
||||
gem 'rake'
|
||||
|
@ -35,3 +35,4 @@
|
|||
- puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
|
||||
- instance_eval File.read(local_gemfile)
|
||||
-end
|
||||
+gem 'base64'
|
||||
|
|
Loading…
Add table
Reference in a new issue