pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-memcache Fix build problem on Ruby 2.2 and ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d2df9e2a534d
branches: trunk
changeset: 652514:d2df9e2a534d
user: taca <taca%pkgsrc.org@localhost>
date: Wed Jun 03 14:47:11 2015 +0000
description:
Fix build problem on Ruby 2.2 and later.
diffstat:
devel/ruby-memcache/distinfo | 3 ++-
devel/ruby-memcache/patches/patch-extconf.rb | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r adbcf41658d7 -r d2df9e2a534d devel/ruby-memcache/distinfo
--- a/devel/ruby-memcache/distinfo Wed Jun 03 14:45:46 2015 +0000
+++ b/devel/ruby-memcache/distinfo Wed Jun 03 14:47:11 2015 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2010/09/10 05:56:34 taca Exp $
+$NetBSD: distinfo,v 1.3 2015/06/03 14:47:11 taca Exp $
SHA1 (ruby-memcache-0.1.0.tar.bz2) = fa2d88e84f49a8662f466b87ce749a4c58aa4f27
RMD160 (ruby-memcache-0.1.0.tar.bz2) = 3aa4371c0b1da76a96cafa0a509028cdcd03083a
Size (ruby-memcache-0.1.0.tar.bz2) = 6237 bytes
SHA1 (patch-aa) = 9c0d7429ca91b9d1b1f8cc4a6148b646f784095e
+SHA1 (patch-extconf.rb) = 1dfb601640f3f77db782cf016df67006ab07c4ba
diff -r adbcf41658d7 -r d2df9e2a534d devel/ruby-memcache/patches/patch-extconf.rb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ruby-memcache/patches/patch-extconf.rb Wed Jun 03 14:47:11 2015 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-extconf.rb,v 1.1 2015/06/03 14:47:11 taca Exp $
+
+Fix build problem on Ruby 2.2 and later.
+
+--- extconf.rb.orig 2005-01-05 02:25:14.000000000 +0000
++++ extconf.rb
+@@ -39,7 +39,7 @@ end
+ $CFLAGS = $CFLAGS + ' -std=c99 -g -pipe'
+
+ $LDFLAGS = CONFIG['LDFLAGS']
+-$LIBPATH.push(Config::CONFIG['libdir'])
++$LIBPATH.push(RbConfig::CONFIG['libdir'])
+
+ def crash(str)
+ printf(" extconf failure: %s\n", str)
Home |
Main Index |
Thread Index |
Old Index