summaryrefslogtreecommitdiff
path: root/multimedia/flvtool2
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/flvtool2')
-rw-r--r--multimedia/flvtool2/flvtool2.SlackBuild5
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