Require ruby-gems-1.3.0 and add --default-source-index to GEM_FLAGS.

This commit is contained in:
bernd 2008-09-28 15:47:27 +00:00
parent 3da8093741
commit c4f3158173

View File

@ -1,4 +1,4 @@
# $OpenBSD: ruby.port.mk,v 1.20 2008/09/02 21:08:29 steven Exp $
# $OpenBSD: ruby.port.mk,v 1.21 2008/09/28 15:47:27 bernd Exp $
# ruby module
@ -31,7 +31,7 @@ CONFIGURE_SCRIPT= ${LOCALBASE}/bin/ruby extconf.rb
.elif ${CONFIGURE_STYLE:L:Mgem}
EXTRACT_SUFX= .gem
BUILD_DEPENDS+= :ruby-gems->=1.0.1:devel/ruby-gems
BUILD_DEPENDS+= :ruby-gems->=1.3.0:devel/ruby-gems
MODRUBY_RUN_DEPENDS+= ::devel/ruby-gems
NO_BUILD= Yes
@ -39,7 +39,7 @@ SUBST_VARS+= DISTNAME
GEM= ${LOCALBASE}/bin/gem
GEM_BASE= ${PREFIX}/lib/ruby/gems/${MODRUBY_REV}
GEM_FLAGS= --local --rdoc --no-force --verbose
GEM_FLAGS= --local --rdoc --no-force --verbose --default-source-index
_GEM_CONTENT= ${WRKDIR}/gem-content
_GEM_DATAFILE= ${_GEM_CONTENT}/data.tar.gz
_GEM_PATCHED= ${DISTNAME}${EXTRACT_SUFX}