diff options
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby.inc')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index 1cede8d47c..c953a27042 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipes-devtools/ruby/ruby.inc | |||
@@ -14,7 +14,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=5b8c87559868796979806100db3f3805 \ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | DEPENDS = "ruby-native zlib openssl libyaml gdbm readline libffi" | 16 | DEPENDS = "ruby-native zlib openssl libyaml gdbm readline libffi" |
17 | DEPENDS_class-native = "openssl-native libyaml-native readline-native zlib-native" | 17 | DEPENDS:class-native = "openssl-native libyaml-native readline-native zlib-native" |
18 | 18 | ||
19 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" | 19 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
20 | SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ | 20 | SRC_URI = "http://cache.ruby-lang.org/pub/ruby/${SHRT_VER}/ruby-${PV}.tar.gz \ |
@@ -33,7 +33,7 @@ inherit autotools ptest | |||
33 | # that the libraries aren't available and hence that the extension can't be | 33 | # that the libraries aren't available and hence that the extension can't be |
34 | # built. | 34 | # built. |
35 | 35 | ||
36 | do_configure_prepend() { | 36 | do_configure:prepend() { |
37 | sed -i "s#%%TARGET_CFLAGS%%#$CFLAGS#; s#%%TARGET_LDFLAGS%%#$LDFLAGS#" ${S}/common.mk | 37 | sed -i "s#%%TARGET_CFLAGS%%#$CFLAGS#; s#%%TARGET_LDFLAGS%%#$LDFLAGS#" ${S}/common.mk |
38 | rm -rf ${S}/ruby/ | 38 | rm -rf ${S}/ruby/ |
39 | } | 39 | } |