pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/rabbit Fix the optional loading of rubygems a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fc64111e0747
branches: trunk
changeset: 540170:fc64111e0747
user: jlam <jlam%pkgsrc.org@localhost>
date: Mon Mar 31 15:26:34 2008 +0000
description:
Fix the optional loading of rubygems at the head of the rabbit scripts.
If rubygems is not found, then just continue. Bump the PKGREVISION
to 3.
diffstat:
graphics/rabbit/Makefile | 4 ++--
graphics/rabbit/distinfo | 8 ++++----
graphics/rabbit/patches/patch-ab | 11 ++++++++---
graphics/rabbit/patches/patch-ac | 11 ++++++++---
graphics/rabbit/patches/patch-ad | 11 ++++++++---
5 files changed, 30 insertions(+), 15 deletions(-)
diffs (103 lines):
diff -r 33d6751e09db -r fc64111e0747 graphics/rabbit/Makefile
--- a/graphics/rabbit/Makefile Mon Mar 31 14:32:05 2008 +0000
+++ b/graphics/rabbit/Makefile Mon Mar 31 15:26:34 2008 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.7 2008/03/18 06:14:31 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2008/03/31 15:26:34 jlam Exp $
#
DISTNAME= rabbit-0.5.5
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= graphics ruby
MASTER_SITES= http://www.cozmixng.org/~kou/download/
diff -r 33d6751e09db -r fc64111e0747 graphics/rabbit/distinfo
--- a/graphics/rabbit/distinfo Mon Mar 31 14:32:05 2008 +0000
+++ b/graphics/rabbit/distinfo Mon Mar 31 15:26:34 2008 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2008/03/18 06:14:31 jlam Exp $
+$NetBSD: distinfo,v 1.7 2008/03/31 15:26:34 jlam Exp $
SHA1 (rabbit-0.5.5.tar.gz) = 9f0071a32fb1465d245b2077b49a1afce70213c9
RMD160 (rabbit-0.5.5.tar.gz) = e2174a536ba673b807c1bb619cd0dc71acef89f0
Size (rabbit-0.5.5.tar.gz) = 3627230 bytes
-SHA1 (patch-ab) = 6a01f6596106e1aaea77b27803137ab7a1738074
-SHA1 (patch-ac) = 2113debc1c3aa5c43590b392a3086635eeca7507
-SHA1 (patch-ad) = 337b696b0dabf5f741529b6b63e4abeb238bbb30
+SHA1 (patch-ab) = 848ccd627644dde7e36d27032ab318af729dc3ce
+SHA1 (patch-ac) = 8e9e5a831f54e4a350a422d3c0027aa7dfa85d35
+SHA1 (patch-ad) = ee455a7c34587fa68fc8152d6ad0a6f48b608222
diff -r 33d6751e09db -r fc64111e0747 graphics/rabbit/patches/patch-ab
--- a/graphics/rabbit/patches/patch-ab Mon Mar 31 14:32:05 2008 +0000
+++ b/graphics/rabbit/patches/patch-ab Mon Mar 31 15:26:34 2008 +0000
@@ -1,12 +1,17 @@
-$NetBSD: patch-ab,v 1.1 2008/03/18 06:14:31 jlam Exp $
+$NetBSD: patch-ab,v 1.2 2008/03/31 15:26:34 jlam Exp $
--- bin/rabbit.orig 2008-03-01 04:54:40.000000000 -0500
+++ bin/rabbit
-@@ -4,6 +4,7 @@
+@@ -4,6 +4,12 @@
GC.disable
require "rbconfig"
-+require "rubygems" rescue LoadError
++begin
++ require "rubygems"
++rescue LoadError
++ nil
++end
++
require "rabbit/console"
require "rabbit/source"
require "rabbit/renderer"
diff -r 33d6751e09db -r fc64111e0747 graphics/rabbit/patches/patch-ac
--- a/graphics/rabbit/patches/patch-ac Mon Mar 31 14:32:05 2008 +0000
+++ b/graphics/rabbit/patches/patch-ac Mon Mar 31 15:26:34 2008 +0000
@@ -1,12 +1,17 @@
-$NetBSD: patch-ac,v 1.1 2008/03/18 06:14:31 jlam Exp $
+$NetBSD: patch-ac,v 1.2 2008/03/31 15:26:34 jlam Exp $
--- bin/rabbit-theme-manager.orig 2008-03-01 04:54:40.000000000 -0500
+++ bin/rabbit-theme-manager
-@@ -1,6 +1,7 @@
+@@ -1,6 +1,12 @@
#!/usr/bin/env ruby
# -*- ruby -*-
-+require "rubygems" rescue LoadError
++begin
++ require "rubygems"
++rescue LoadError
++ nil
++end
++
require "fileutils"
require "rabbit/console"
diff -r 33d6751e09db -r fc64111e0747 graphics/rabbit/patches/patch-ad
--- a/graphics/rabbit/patches/patch-ad Mon Mar 31 14:32:05 2008 +0000
+++ b/graphics/rabbit/patches/patch-ad Mon Mar 31 15:26:34 2008 +0000
@@ -1,12 +1,17 @@
-$NetBSD: patch-ad,v 1.1 2008/03/18 06:14:31 jlam Exp $
+$NetBSD: patch-ad,v 1.2 2008/03/31 15:26:34 jlam Exp $
--- bin/rabrick.orig 2008-03-01 04:54:40.000000000 -0500
+++ bin/rabrick
-@@ -1,6 +1,7 @@
+@@ -1,6 +1,12 @@
#!/usr/bin/env ruby
# -*- ruby -*-
-+require "rubygems" rescue LoadError
++begin
++ require "rubygems"
++rescue LoadError
++ nil
++end
++
require "webrick"
require 'tofu/tofulet'
Home |
Main Index |
Thread Index |
Old Index