summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2016-01-04 02:48:05 +0000
committertaca <taca@pkgsrc.org>2016-01-04 02:48:05 +0000
commit207838033439c020d6f0d4a1dd7be34ce549ca2d (patch)
tree8938fe9e1f057e6880752083eab1da1d92c43c37 /archivers
parentcfafb3afe2a6689551b351369b048c187d4e1059 (diff)
downloadpkgsrc-207838033439c020d6f0d4a1dd7be34ce549ca2d.tar.gz
Fix "work-directory references" problem another way.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ruby-libarchive/Makefile5
-rw-r--r--archivers/ruby-libarchive/distinfo3
-rw-r--r--archivers/ruby-libarchive/patches/patch-ext_extconf.rb12
3 files changed, 15 insertions, 5 deletions
diff --git a/archivers/ruby-libarchive/Makefile b/archivers/ruby-libarchive/Makefile
index 98ce3d2cc15..19350e3f63e 100644
--- a/archivers/ruby-libarchive/Makefile
+++ b/archivers/ruby-libarchive/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2015/09/25 05:45:58 taca Exp $
+# $NetBSD: Makefile,v 1.8 2016/01/04 02:48:05 taca Exp $
DISTNAME= libarchive-0.1.2
CATEGORIES= archivers
@@ -10,9 +10,6 @@ LICENSE= modified-bsd
USE_TOOLS+= gmake
-# Fix Ruby 2.2 build.
-CHECK_WRKREF_SKIP+= lib/ruby/gems/2.2.0/doc/libarchive-0.1.2/ri/ext/*.ri
-
.include "../../lang/ruby/gem.mk"
.include "../../archivers/libarchive/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/ruby-libarchive/distinfo b/archivers/ruby-libarchive/distinfo
index 19e64332327..e952ce3b4d0 100644
--- a/archivers/ruby-libarchive/distinfo
+++ b/archivers/ruby-libarchive/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 00:56:25 agc Exp $
+$NetBSD: distinfo,v 1.4 2016/01/04 02:48:05 taca Exp $
SHA1 (libarchive-0.1.2.gem) = 5a7f5d5e9771f00c4ef2b030602381a29ff0eb11
RMD160 (libarchive-0.1.2.gem) = 337296b1c31898ee7e438fd5e368fb821462c341
SHA512 (libarchive-0.1.2.gem) = 5644e82f2a0573f084a96f11dd7a6b9b3f44e4f1190ee830d46f9ba6eeee7e498a78cee9f5af54fda5d27159f53c1c7d66bc9a9e2c8c1c18382848c0deb461ff
Size (libarchive-0.1.2.gem) = 53760 bytes
+SHA1 (patch-ext_extconf.rb) = 82d1b14bc2c8785883c9a84d541eb18d5a080aa9
diff --git a/archivers/ruby-libarchive/patches/patch-ext_extconf.rb b/archivers/ruby-libarchive/patches/patch-ext_extconf.rb
new file mode 100644
index 00000000000..efb00407bde
--- /dev/null
+++ b/archivers/ruby-libarchive/patches/patch-ext_extconf.rb
@@ -0,0 +1,12 @@
+$NetBSD: patch-ext_extconf.rb,v 1.1 2016/01/04 02:48:05 taca Exp $
+
+* Avoid to index by rdoc.
+
+--- ext/extconf.rb.orig 2016-01-04 02:44:40.000000000 +0000
++++ ext/extconf.rb
+@@ -7,4 +7,5 @@ if system('/bin/sh configure') and have_
+ have_header('bzlib.h')
+
+ create_makefile('rblibarchive')
++ FileUtils.rm_f %w(config.log config.status)
+ end