mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
* disabled by default * fixes: ruby/1.9.3-p547-r1.0/ruby-1.9.3-p547/gc.c:43:32:fatal error: valgrind/memcheck.h: No such file or directory Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
51 lines
1.6 KiB
BlitzBasic
51 lines
1.6 KiB
BlitzBasic
require ruby.inc
|
|
PR = "${INC_PR}.0"
|
|
|
|
SRC_URI += "\
|
|
file://0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch \
|
|
file://ruby-1.9.3-always-use-i386.patch \
|
|
file://ruby-1.9.3-disable-versioned-paths.patch \
|
|
file://ruby-1.9.3-rubygems-1.8.11-uninstaller.patch \
|
|
file://ruby-1.9.3-custom-rubygems-location.patch \
|
|
file://rubygems-1.8.11-binary-extensions.patch \
|
|
file://ruby-1.9.3-mkmf-verbose.patch \
|
|
file://ruby-1.9.3-install-cross.patch \
|
|
file://remove-the-dependency-on-dir.patch \
|
|
file://ruby-mkmf.rb-fix-race-conditions-at-install-ext.patch \
|
|
"
|
|
SRC_URI[md5sum] = "7531f9b1b35b16f3eb3d7bea786babfd"
|
|
SRC_URI[sha256sum] = "9ba118e4aba04c430bc4d5efb09b31a0277e101c9fd2ef3b80b9c684d7ae57a1"
|
|
|
|
# it's unknown to configure script, but then passed to extconf.rb
|
|
# maybe it's not really needed as we're hardcoding the result with
|
|
# 0001-socket-extconf-hardcode-wide-getaddr-info-test-outco.patch
|
|
UNKNOWN_CONFIGURE_WHITELIST += "--enable-wide-getaddrinfo"
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[valgrind] = "--with-valgrind=yes, --with-valgrind=no, valgrind"
|
|
|
|
EXTRA_OECONF = "\
|
|
--enable-wide-getaddrinfo \
|
|
--disable-versioned-paths \
|
|
--disable-rpath \
|
|
--enable-shared \
|
|
--enable-load-relative \
|
|
"
|
|
|
|
EXTRA_OEMAKE = " \
|
|
LIBRUBYARG='-lruby-static' \
|
|
"
|
|
|
|
do_install() {
|
|
oe_runmake 'DESTDIR=${D}' install
|
|
}
|
|
|
|
FILES_${PN} += "${datadir}/rubygems \
|
|
${datadir}/ri"
|
|
|
|
FILES_${PN}-dbg += "${libdir}/ruby/*/.debug \
|
|
${libdir}/ruby/*/*/.debug \
|
|
${libdir}/ruby/*/*/*/.debug"
|
|
|
|
BBCLASSEXTEND = "native"
|