Signed-off-by: Nathan Hartman <[email protected]>
---
classes/ruby.bbclass | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/classes/ruby.bbclass b/classes/ruby.bbclass
index dc19166..15ac9f4 100644
--- a/classes/ruby.bbclass
+++ b/classes/ruby.bbclass
@@ -8,6 +8,8 @@ RDEPENDS_${PN} += " \
ruby \
"
+SRCNAME ?= "${PN}"
+
#${PN}_do_compile[depends] += "ruby-native:do_populate_sysroot"
def get_rubyversion(p):
@@ -78,8 +80,8 @@ RUBY_GEM_VERSION ?=
"${@get_rubygemsversion("${STAGING_BINDIR_NATIVE}")}"
export GEM_HOME = "${STAGING_DIR_NATIVE}/usr/lib/ruby/gems/${RUBY_GEM_VERSION}"
-RUBY_BUILD_GEMS ?= "${BPN}.gemspec"
-RUBY_INSTALL_GEMS ?= "${BPN}-${BPV}.gem"
+RUBY_BUILD_GEMS ?= "${SRCNAME}.gemspec"
+RUBY_INSTALL_GEMS ?= "${SRCNAME}-${PV}.gem"
RUBY_COMPILE_FLAGS ?= 'LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8"'
--
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5089):
https://lists.yoctoproject.org/g/meta-virtualization/message/5089
Mute This Topic: https://lists.yoctoproject.org/mt/71436207/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-