pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/ruby-xz Let ruby-xz use a full filename in l...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8c056e272e3b
branches:  trunk
changeset: 626489:8c056e272e3b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Nov 13 18:10:20 2013 +0000

description:
Let ruby-xz use a full filename in loading a library.

diffstat:

 archivers/ruby-xz/Makefile                          |  3 ++-
 archivers/ruby-xz/distinfo                          |  4 ++--
 archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb |  4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r c06bf07b2051 -r 8c056e272e3b archivers/ruby-xz/Makefile
--- a/archivers/ruby-xz/Makefile        Wed Nov 13 15:59:22 2013 +0000
+++ b/archivers/ruby-xz/Makefile        Wed Nov 13 18:10:20 2013 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2012/09/11 19:47:00 asau Exp $
+# $NetBSD: Makefile,v 1.9 2013/11/13 18:10:20 minskim Exp $
 
 DISTNAME=      ruby-xz-0.1.1
 PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME:S/ruby-//}
+PKGREVISION=   1
 CATEGORIES=    archivers
 
 MAINTAINER=    minskim%NetBSD.org@localhost
diff -r c06bf07b2051 -r 8c056e272e3b archivers/ruby-xz/distinfo
--- a/archivers/ruby-xz/distinfo        Wed Nov 13 15:59:22 2013 +0000
+++ b/archivers/ruby-xz/distinfo        Wed Nov 13 18:10:20 2013 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2012/03/20 12:29:23 taca Exp $
+$NetBSD: distinfo,v 1.4 2013/11/13 18:10:20 minskim Exp $
 
 SHA1 (ruby-xz-0.1.1.gem) = e90f6d1d5cc0cdf5a483d0b738e9c3510bb5da77
 RMD160 (ruby-xz-0.1.1.gem) = 44baebe06c0558e9f4fb3490413bf08a83e12645
 Size (ruby-xz-0.1.1.gem) = 17408 bytes
-SHA1 (patch-lib_xz_lib__lzma.rb) = a4622d2941503fdd7f06bc977770575628efe1c8
+SHA1 (patch-lib_xz_lib__lzma.rb) = e26ec075ad4b05da397bce4ae80b939567c93b3e
diff -r c06bf07b2051 -r 8c056e272e3b archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb
--- a/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb       Wed Nov 13 15:59:22 2013 +0000
+++ b/archivers/ruby-xz/patches/patch-lib_xz_lib__lzma.rb       Wed Nov 13 18:10:20 2013 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-lib_xz_lib__lzma.rb,v 1.1 2012/03/20 07:26:05 taca Exp $
+$NetBSD: patch-lib_xz_lib__lzma.rb,v 1.2 2013/11/13 18:10:20 minskim Exp $
 
 Use an absolute path for a library to load.
 
@@ -9,7 +9,7 @@
      :lzma_prog_error
      
 -    ffi_lib ['lzma.so.2', 'lzma.so', 'lzma']
-+    ffi_lib ['lzma.@SHLIB_EXT@.2', 'lzma.@SHLIB_EXT@', 'lzma'].map! { |f|  File.join('@LOCALBASE@/lib', f) }
++    ffi_lib ['liblzma.@SHLIB_EXT@.2', 'liblzma.@SHLIB_EXT@', 'liblzma'].map! { |f|  File.join('@LOCALBASE@/lib', f) }
      
      attach_function :lzma_easy_encoder, [:pointer, :uint32, :int], :int
      attach_function :lzma_code, [:pointer, :int], :int



Home | Main Index | Thread Index | Old Index