Browse Source

ruby: remove refs from dropped syck

syck was replaced by psych in yaml. (ref:
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/36786)

Also add ruby-psych to ruby-yaml deps

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
lilik-openwrt-22.03
Luiz Angelo Daros de Luca 10 years ago
parent
commit
8d46e8a453
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      lang/ruby/Makefile

+ 2
- 4
lang/ruby/Makefile View File

@ -16,7 +16,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ruby
PKG_VERSION:=2.1.2
PKG_RELEASE:=8
PKG_RELEASE:=9
PKG_LIBVER:=2.1
@ -214,7 +214,7 @@ endef
define Package/ruby-yaml
$(call Package/ruby/Default)
TITLE:=Ruby YAML toolkit
DEPENDS:=ruby
DEPENDS:=ruby +ruby-psych
endef
define Package/ruby-zlib
@ -342,7 +342,6 @@ define Package/ruby-core/install
\
$(1)/usr/lib/ruby/$(PKG_LIBVER)/yaml \
$(1)/usr/lib/ruby/$(PKG_LIBVER)/yaml.rb \
$(1)/usr/lib/ruby/$(PKG_LIBVER)/*/syck.so \
find $(1) -name '*.h' | xargs rm -f
endef
@ -537,7 +536,6 @@ define Package/ruby-yaml/install
( cd $(PKG_INSTALL_DIR); $(TAR) -cf - \
usr/lib/ruby/$(PKG_LIBVER)/yaml \
usr/lib/ruby/$(PKG_LIBVER)/yaml.rb \
usr/lib/ruby/$(PKG_LIBVER)/*/syck.so \
) | ( cd $(1); $(TAR) -xf - )
endef


Loading…
Cancel
Save