# ruby30/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. Presently, "ruby24" is needed to build "ruby30". #--------------------------------------------------------------------- 2. "ruby30" supports a JIT feature. Presently, this package turns the feature on by default. #--------------------------------------------------------------------- 3. Important: As of Fall 2022, this distro opted to freeze "ruby30" at release 3.0.3. Reason: If release 3.0.4 was used, the following type of command produced random "Zlib" buffer errors: gem build *.gemspec The problem with release 3.0.4 may, or may not, have been related to the JIT feature. "ruby30" shouldn't be updated unless and until the problem is correct- ed. #--------------------------------------------------------------------- [buildtimes] 00.11 hours (or 006.47 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.15 hours (or 008.98 minutes) - HP EliteBook 8560w 32GB RAM 00.17 hours (or 010.05 minutes) - ThinkPad W530 i7 4x2 32GB RAM using a 64-bit kernel and 32-bit distro #--------------------------------------------------------------------- [settings] build = default exepack = yes license = See "license*.txt" in installed tree licfile = COPYING tmpsize = 239M setpaths = libsodium ruby30 zlib #--------------------------------------------------------------------- [depends] actools db # May not be needed gawk gdbm # May not be needed grep libedit # May not be needed ncurses libsodium openssl readline ruby24 sed tcltk zlib #--------------------------------------------------------------------- [configure] LIBDIR=$PKGDIR_PROD/lib MANBASE=$PKGDIR_PROD/man PCGDIR=$LIBDIR/pkgconfig mkdir -p $MANBASE $PCGDIR automake --add-missing --copy 2> /dev/null || true autoreconf -fi bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --enable-shared \ --mandir=$MANBASE \ --with-baseruby=$PRODTREE/ruby24/bin/ruby \ cppflags="-DMJIT_FORCE_ENABLE" #--------------------------------------------------------------------- [postbuild] ETCDIR=$PKGDIR_PROD/etc mkdir -p $ETCDIR cd $ETCDIR echo "gem: --no-document" >> gemrc #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = tbd url_home = http://www.ruby-lang.org/en/ url_lfs = tbd url_tarball = http://ftp.ruby-lang.org/pub/ruby/3.0/ruby-3.0.3.tar.xz #--------------------------------------------------------------------- [history] 170913 Updated from 2.2.7 to 2.4.1 170915 Updated to 2.4.2 171214 Updated to 2.4.3 180323 Patched to build against "libressl" 2.7.0 180329 Updated to 2.4.4 180511 Split into two packages ("ruby24" and "ruby30") 180511 Updated to 180511 ("git" date) 180517 Updated to 180517 180616 Updated to 180616 180715 Updated to 180715 181014 Updated to 181014 181117 Updated to 0cdd45961 ("git" hash) 181229 Updated to 9975d3296 190216 Updated to a7f5badaf 190224 Downgraded to 2.6.0 191009 Updated to 2.6.5 210217 Updated to 2.6.6 210424 Updated to 3.0.1 210912 Updated to 3.0.2 211205 Updated to 3.0.3