1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

- Fix build

This commit is contained in:
Steve Wills 2013-02-27 03:44:39 +00:00
parent 295fa93137
commit c811213aba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313031
2 changed files with 39 additions and 5 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: Ruby/io-reactor
# Date created: 26 December 2004
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
#
PORTNAME= io-reactor
PORTVERSION= 1.0.4
@ -24,6 +20,8 @@ NO_BUILD= yes
DOCS= ChangeLog README
EXAMPLES= examples/*
BUILD_DEPENDS= rubygem-rdoc>=0:${PORTSDIR}/devel/rubygem-rdoc
do-install:
cd ${WRKSRC}; ${RUBY} ${RAKE_BIN} install
.if !defined(NOPORTDOCS)

View File

@ -0,0 +1,36 @@
--- Rakefile.orig 2008-08-19 20:14:31.000000000 +0000
+++ Rakefile 2013-02-27 03:35:18.000000000 +0000
@@ -25,9 +25,9 @@
require 'rbconfig'
require 'rubygems'
require 'rake'
-require 'rake/rdoctask'
+require 'rdoc/task'
require 'rake/testtask'
-require 'rake/packagetask'
+require 'rubygems/package_task'
require 'rake/clean'
$dryrun = false
--- ./rake/packaging.rb.orig 2013-02-27 03:38:49.000000000 +0000
+++ ./rake/packaging.rb 2013-02-27 03:39:06.000000000 +0000
@@ -5,7 +5,7 @@
require 'rbconfig'
require 'rake/packagetask'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
include Config
--- rake/rdoc.rb.orig 2013-02-27 03:40:32.000000000 +0000
+++ rake/rdoc.rb 2013-02-27 03:40:53.000000000 +0000
@@ -3,7 +3,7 @@
# $Id: rdoc.rb 35 2008-08-19 01:10:27Z deveiant $
#
-require 'rake/rdoctask'
+require 'rdoc/task'
$have_darkfish = false
begin