[125721] trunk/dports/lang/ruby21
kimuraw at macports.org
kimuraw at macports.org
Wed Sep 24 12:59:44 PDT 2014
Revision: 125721
https://trac.macports.org/changeset/125721
Author: kimuraw at macports.org
Date: 2014-09-24 12:59:44 -0700 (Wed, 24 Sep 2014)
Log Message:
-----------
lang/ruby21: upgrade to 2.1.3
note: these patches were mereged in this version.
- files/patch-ext-dl-extconf.rb.diff
- files/patch-ext-fiddle-extconf.rb.diff
Modified Paths:
--------------
trunk/dports/lang/ruby21/Portfile
Removed Paths:
-------------
trunk/dports/lang/ruby21/files/patch-ext-dl-extconf.rb.diff
trunk/dports/lang/ruby21/files/patch-ext-fiddle-extconf.rb.diff
Modified: trunk/dports/lang/ruby21/Portfile
===================================================================
--- trunk/dports/lang/ruby21/Portfile 2014-09-24 17:59:49 UTC (rev 125720)
+++ trunk/dports/lang/ruby21/Portfile 2014-09-24 19:59:44 UTC (rev 125721)
@@ -5,8 +5,8 @@
PortGroup select 1.0
name ruby21
-version 2.1.2
-revision 1
+version 2.1.3
+revision 0
categories lang ruby
maintainers kimuraw openmaintainer
@@ -26,10 +26,10 @@
use_bzip2 yes
distname ruby-${version}
-checksums md5 ed9b8565bdeccb401d628ec8d54a0774 \
- rmd160 0bae9f1f62c0df44840355a880eb1907892f2b38 \
- sha1 29a615966c7feb6554be736e7dcd590c770ee692 \
- sha256 6948b02570cdfb89a8313675d4aa665405900e27423db408401473f30fc6e901
+checksums md5 02b7da3bb06037c777ca52e1194efccb \
+ rmd160 b812048ddc6523050f12bb44460ff033a711b942 \
+ sha1 befbc7b31b0e19c2abe8fa89f08de5d4d7509d19 \
+ sha256 36ce72f84ae4129f6cc66e33077a79d87b018ea7bf1dbc3d353604bf006f76d6
use_parallel_build no
depends_lib port:readline \
@@ -59,11 +59,6 @@
# Port "ruby" and "ruby19" does the same.
configure.env-append UNAME_RELEASE=${os.major}
-# patch-ext-fiddle-extconf.rb.diff: https://bugs.ruby-lang.org/issues/9897
-# patch-ext-dl-extconf.rb.diff: https://bugs.ruby-lang.org/issues/9656
-patchfiles patch-ext-dl-extconf.rb.diff \
- patch-ext-fiddle-extconf.rb.diff
-
# Add the architecture flag as required
if {[info exists build_arch] && ${build_arch} != ""} {
configure.args-append "--with-arch=${build_arch}"
Deleted: trunk/dports/lang/ruby21/files/patch-ext-dl-extconf.rb.diff
===================================================================
--- trunk/dports/lang/ruby21/files/patch-ext-dl-extconf.rb.diff 2014-09-24 17:59:49 UTC (rev 125720)
+++ trunk/dports/lang/ruby21/files/patch-ext-dl-extconf.rb.diff 2014-09-24 19:59:44 UTC (rev 125721)
@@ -1,18 +0,0 @@
-Index: ext/dl/extconf.rb
-===================================================================
---- ext/dl/extconf.rb (revision 46302)
-+++ ext/dl/extconf.rb (revision 46303)
-@@ -1,7 +1,12 @@
- require 'mkmf'
-
- if RbConfig::CONFIG['GCC'] == 'yes'
-- (have_macro("__clang__") ? $LDFLAGS : $CFLAGS) << " -fno-defer-pop"
-+ flag = " -fno-defer-pop"
-+ if have_macro("__clang__")
-+ $LDFLAGS << flag if try_ldflags(flag)
-+ else
-+ $CFLAGS << flag
-+ end
- $CFLAGS << " -fno-omit-frame-pointer"
- end
-
Deleted: trunk/dports/lang/ruby21/files/patch-ext-fiddle-extconf.rb.diff
===================================================================
--- trunk/dports/lang/ruby21/files/patch-ext-fiddle-extconf.rb.diff 2014-09-24 17:59:49 UTC (rev 125720)
+++ trunk/dports/lang/ruby21/files/patch-ext-fiddle-extconf.rb.diff 2014-09-24 19:59:44 UTC (rev 125721)
@@ -1,14 +0,0 @@
-Index: ext/fiddle/extconf.rb
-===================================================================
---- ext/fiddle/extconf.rb (revision 46608)
-+++ ext/fiddle/extconf.rb (revision 47020)
-@@ -7,7 +7,8 @@
- pkg_config("libffi")
- if ver = pkg_config("libffi", "modversion")
- ver = ver.gsub(/-rc\d+/, '') # If ver contains rc version, just ignored.
-- $defs.push(%{-DRUBY_LIBFFI_MODVERSION=#{ '%d%03d%03d' % ver.split('.') }})
-+ ver = (ver.split('.') + [0,0])[0,3]
-+ $defs.push(%{-DRUBY_LIBFFI_MODVERSION=#{ '%d%03d%03d' % ver }})
- end
-
- unless have_header('ffi.h')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140924/8be7418f/attachment.html>
More information about the macports-changes
mailing list