aboutsummaryrefslogtreecommitdiffstats
path: root/testing/jruby/jruby.post-install
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-04-08 14:04:12 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-08 13:21:38 +0000
commitf5a1bc4bd7fbffa5ca89ea96d07305847d462b14 (patch)
tree5dd4b7ea5a3e13a406735c9ca263f2d51a43db78 /testing/jruby/jruby.post-install
parent3a04509d16050e299768bc6fe9395f22142458e8 (diff)
downloadaports-f5a1bc4bd7fbffa5ca89ea96d07305847d462b14.tar.bz2
aports-f5a1bc4bd7fbffa5ca89ea96d07305847d462b14.tar.xz
testing/jruby: new abuild
http://jruby.org An implementation of Ruby on the JVM
Diffstat (limited to 'testing/jruby/jruby.post-install')
-rw-r--r--testing/jruby/jruby.post-install13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/jruby/jruby.post-install b/testing/jruby/jruby.post-install
new file mode 100644
index 0000000000..8b2e94b06f
--- /dev/null
+++ b/testing/jruby/jruby.post-install
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# TODO: Remove after merging musl-1.1.14-r8 into stable branch.
+
+if [ ! -e /usr/lib/libcrypt.so* ]; then
+ cat <<-EOF 1>&2
+ * Symlink /usr/lib/libcrypt.so* does not exist, you probably use older
+ * revision of lib6-compat package. Since it's necessary for JRuby to work
+ * correctly, it'll be created now.
+ EOF
+
+ ln -s /usr/lib/libc.so /usr/lib/libcrypt.so.1
+fi