diff options
author | knu <knu@FreeBSD.org> | 2003-03-11 15:16:24 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-03-11 15:16:24 +0800 |
commit | 889642e7763dcfcfcf18aae595dd8f257856170c (patch) | |
tree | 812f41d4481cb07805ecd379c2d07d836ff9a8d5 | |
parent | 9a921cd512f634c2439f42e62846c61b41c49b62 (diff) | |
download | freebsd-ports-gnome-889642e7763dcfcfcf18aae595dd8f257856170c.tar.gz freebsd-ports-gnome-889642e7763dcfcfcf18aae595dd8f257856170c.tar.zst freebsd-ports-gnome-889642e7763dcfcfcf18aae595dd8f257856170c.zip |
ruby-testunit and ruby-runit are now part of ruby 1.8. Do not add
unnecessary dependencies when building with ruby 1.8.
Submitted by: bento
-rw-r--r-- | Mk/bsd.ruby.mk | 2 | ||||
-rw-r--r-- | devel/ruby-mock/Makefile | 3 | ||||
-rw-r--r-- | www/ruby-webunit/Makefile | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index f2b82a2eca0f..6d207e143ff0 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -385,9 +385,11 @@ shim= ${USE_RUBY_FEATURES:Mbenchmark} \ ${USE_RUBY_FEATURES:Mpp} \ ${USE_RUBY_FEATURES:Mracc-runtime} \ ${USE_RUBY_FEATURES:Mruby18} \ + ${USE_RUBY_FEATURES:Mrunit} \ ${USE_RUBY_FEATURES:Mset} \ ${USE_RUBY_FEATURES:Mstringio} \ ${USE_RUBY_FEATURES:Mstrscan} \ + ${USE_RUBY_FEATURES:Mtestunit} \ ${USE_RUBY_FEATURES:Mtsort} .if !empty(shim) && ${RUBY_VER} <= 1.6 BUILD_DEPENDS+= ${DEPEND_RUBY_SHIM18} diff --git a/devel/ruby-mock/Makefile b/devel/ruby-mock/Makefile index 191590af021e..d83b4919623c 100644 --- a/devel/ruby-mock/Makefile +++ b/devel/ruby-mock/Makefile @@ -15,10 +15,9 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= An RUnit extention that makes it very easy to implement Mock Objects -RUN_DEPENDS= {RUBY_SITELIBDIR}/runit/error.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 - USE_BZIP2= yes USE_RUBY= yes +USE_RUBY_FEATURES= runit NO_BUILD= yes diff --git a/www/ruby-webunit/Makefile b/www/ruby-webunit/Makefile index eda3b4a9f52a..78473fb263e6 100644 --- a/www/ruby-webunit/Makefile +++ b/www/ruby-webunit/Makefile @@ -16,13 +16,13 @@ DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org COMMENT= A Ruby API for automated unit testing of web sites -RUN_DEPENDS= ${RUBY_SITELIBDIR}/test/unit/testcase.rb:${PORTSDIR}/lang/ruby16-shim-ruby18 \ - ${RUBY_SITELIBDIR}/html-parser.rb:${PORTSDIR}/textproc/ruby-html-parser \ +RUN_DEPENDS= ${RUBY_SITELIBDIR}/html-parser.rb:${PORTSDIR}/textproc/ruby-html-parser \ ${RUBY_SITELIBDIR}/htmlrepair.rb:${PORTSDIR}/textproc/ruby-htmlrepair \ ${RUBY_SITELIBDIR}/htmlsplit.rb:${PORTSDIR}/textproc/ruby-htmlsplit \ ${RUBY_SITELIBDIR}/rexml/rexml.rb:${PORTSDIR}/textproc/ruby-rexml USE_RUBY= yes +USE_RUBY_FEATURES= testunit WRKSRC= ${WRKDIR}/${PORTNAME} NO_BUILD= yes |