diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-07-23 12:23:30 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 1061ca45a048e4418aa177914788405068bb20bc (patch) | |
tree | e180999455237bffcba81912bba7ccd9a8c7b0c2 /multimedia | |
parent | 644591cddb37c8b93642ce6f74f8b96e7d692d30 (diff) | |
download | slackbuilds-1061ca45a048e4418aa177914788405068bb20bc.tar.gz |
multimedia/flvtool2: Fixed to build with ruby-1.9.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/flvtool2/flvtool2.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/multimedia/flvtool2/flvtool2.SlackBuild b/multimedia/flvtool2/flvtool2.SlackBuild index 1f20b403e7..b93d43fe88 100644 --- a/multimedia/flvtool2/flvtool2.SlackBuild +++ b/multimedia/flvtool2/flvtool2.SlackBuild @@ -72,6 +72,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Fix build with ruby-1.9 (it dislikes the Mac detritus in the tarball) +find . -name '._*' -delete +# Fix (harmless) deprecation warning +sed -i -e 's/::Config::CONFIG/::RbConfig::CONFIG/' setup.rb + ruby setup.rb config ruby setup.rb setup ruby setup.rb install --prefix=$PKG |