tech-pkg archive

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

Updating Ruby to 1.8.7



Hi,

I'm working on update of Ruby to 1.8.7 (patchlevel 17 now).

And at the same time, I'll want to add some changes.

1. Honor vendor_ruby directory which introduced with Ruby 1.8.7.

        It is the same purpose as perl's vendor_perl directory.

2. Some change to directory macros in lang/ruby/rubyversion.mk,
   currently these are defined as:

        RUBY_LIBDIR=            ${PREFIX}/${RUBY_LIB}
        RUBY_ARCHLIBDIR=        ${PREFIX}/${RUBY_ARCHLIB}
        RUBY_SITELIBDIR=        ${PREFIX}/${RUBY_SITELIB}
        RUBY_SITEARCHLIBDIR=    ${PREFIX}/${RUBY_SITEARCHLIB}
        RUBY_VENDORLIBDIR=      ${PREFIX}/${RUBY_VENDORLIB}
        RUBY_VENDORARCHLIBDIR=  ${PREFIX}/${RUBY_VENDORARCHLIB}
        RUBY_DOCDIR=            ${PREFIX}/${RUBY_DOC}
        RUBY_EXAMPLESDIR=       ${PREFIX}/${RUBY_EG}

   Now new definitions:

        RUBY_LIB=               lib/ruby/${RUBY_VER_DIR}
        RUBY_ARCHLIB=           ${RUBY_LIB}/${RUBY_ARCH}
        RUBY_SITELIB_BASE=      lib/ruby/vendor_ruby
        RUBY_SITELIB=           ${RUBY_SITELIB_BASE}/${RUBY_VER_DIR}
        RUBY_SITEARCHLIB=       ${RUBY_SITELIB}/${RUBY_ARCH}
        RUBY_VENDORLIB_BASE=    lib/ruby/vendor_ruby
        RUBY_VENDORLIB=         ${RUBY_VENDORLIB_BASE}/${RUBY_VER_DIR}
        RUBY_VENDORARCHLIB=     ${RUBY_VENDORLIB}/${RUBY_ARCH}
        RUBY_DOC=               share/doc/${RUBY_NAME}
        RUBY_EG=                share/examples/${RUBY_NAME}

   I think it is better to handle DESTDIR support now.


I've finished most of changes in my local tree with some problem:

        - print/ruby-gnome2-poppler didn't compile with recent
          poppler.  (I'll try with ruby-gnome2-0.17.0rc1.)

        - devel/ruby-memcache wasn't checked because of
          devel/libmemcache's error.

Still build checking process now.

-- 
Takahiro Kambe <taca%back-street.net@localhost>


Home | Main Index | Thread Index | Old Index