Skip to content

Commit

Permalink
lang/ruby24: fix #53488, correct permissions of .dylib symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
kimuraw committed Feb 6, 2017
1 parent f7c8fa8 commit db57a39
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lang/ruby24/Portfile
Expand Up @@ -5,7 +5,7 @@ PortGroup select 1.0

name ruby24
version 2.4.0
revision 1
revision 2

categories lang ruby
maintainers kimuraw openmaintainer
Expand All @@ -27,7 +27,9 @@ distname ruby-${version}
dist_subdir ruby24

# 10.7 or earlier cannot compile ruby-2.4.0, upstream ruby-trunk's r57180 fixes this error
patchfiles patch-legacy_mac.diff
# fix #53488, correct permissions of .dylib symlinks
patchfiles patch-legacy_mac.diff \
patch-tool-rbinstall.rb.diff

checksums md5 98f29161860fe1b6c65396717847a358 \
rmd160 5db08d8703f39e7086f53a7ff96238af5c618281 \
Expand Down
13 changes: 13 additions & 0 deletions lang/ruby24/files/patch-tool-rbinstall.rb.diff
@@ -0,0 +1,13 @@
Index: tool/rbinstall.rb
===================================================================
--- tool/rbinstall.rb (revision 57542)
+++ tool/rbinstall.rb (revision 57543)
@@ -29,7 +29,7 @@
end

STDOUT.sync = true
-File.umask(077)
+File.umask(0222)

def parse_args(argv = ARGV)
$mantype = 'doc'

0 comments on commit db57a39

Please sign in to comment.