Let ruby-xz use a full filename in loading a library.
This commit is contained in:
parent
d30af93d85
commit
7832695ce4
3 changed files with 6 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 @@ Use an absolute path for a library to load.
|
|||
: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
|
||||
|
|
Loading…
Reference in a new issue