pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mail/quickml support for ruby 1.9



hi

2012/7/23 OBATA Akio <obache%netbsd.org@localhost>:
>> +.if ${RUBY_VER} == "19" || ${RUBY_VER} == "192" || ${RUBY_VER} == "193"
>> +        MAKE_ENV+=      RUBYOPT="-E Shift_JIS:UTF-16LE"
>> +.endif
> It should be ${RUBY_VER} != "18" for future new ruby releases.
> And good news, FreeBSD ports have more patches for ruby19 now :(

ruby 1.8 is discarded, Are you ok? ('A`)

I imported some patches from FreeBSD.
Such as the file name has been changed.
I have attached a patches ( tar ball ).


1. change /usr/pkgsrc/mail/quickml/Makefile

% diff -bu Makefile.orig Makefile
--- Makefile.orig       2012-07-23 19:31:58.000000000 +0900
+++ Makefile    2012-07-25 18:46:55.000000000 +0900
@@ -16,8 +16,7 @@
 USE_LANGUAGES= # none
 RCD_SCRIPTS+=  quickml

-# Dose not care for Ruby 1.9's character encoding for now.
-RUBY_VERSION_SUPPORTED= 18
+RUBY_VERSION_SUPPORTED= 192 193

 QUICKML_USER=  quickml
 QUICKML_GROUP= quickml

2. some patch were combined into one.
* patch-Makefile.in
  combined patch-Makefile.in and patch-ruby19-Makefile.in

* patch-quickml-analog.in
  combined patch-quickml-analog.in and patch-ruby19-quickml-analog.in


3. I change the patch file name.

% ls -1 patches/
patch-Makefile.in
patch-quickml-analog.in
patch-ruby19-config.rb
patch-ruby19-core.rb
patch-ruby19-gettext.rb
patch-ruby19-mail.rb
patch-ruby19-messages.ja
patch-ruby19-quickml.in
patch-ruby19-utils.rb

-- 
miwarin

Attachment: quickml.patches.tgz
Description: GNU Zip compressed data



Home | Main Index | Thread Index | Old Index