- Don't use ruby-bdb with ruby 2.0 as it is currently

broken. Fallback on dbm_hash for now.

Reported by:	Jeroen Ruigrok van der Werven
This commit is contained in:
Bryan Drewery 2013-03-17 22:04:00 +00:00
parent df28e80ff9
commit 40dd6cf483
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314498
2 changed files with 10 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= portupgrade
PORTVERSION= 20130313
PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= ports-mgmt
MASTER_SITES= GH \
@ -15,8 +16,6 @@ COMMENT= FreeBSD ports/packages management tool (devel version)
LICENSE= BSD
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
CONFLICTS_INSTALL= portupgrade-[0-9]*
USE_GITHUB= yes
@ -56,6 +55,11 @@ INSTALL_TARGET= install
INSTALL_TARGET+= install-doc
.endif
# Reported that ruby-bdb is BROKEN with 2.0
.if ${RUBY_VER} != 2.0
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
.endif
# parsedate is needed for date globbing
.if ${RUBY_VER} == 1.9
RUN_DEPENDS+= ${RUBY_SITELIBDIR}/parsedate.rb:${PORTSDIR}/devel/ruby-date2

View File

@ -3,6 +3,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.4.10.5
PORTREVISION= 1
PORTEPOCH= 2
CATEGORIES= ports-mgmt
MASTER_SITES= SF/portupgrade/pkgtools/dist/ \
@ -53,8 +54,11 @@ INSTALL_TARGET= install
INSTALL_TARGET+= install-doc
.endif
# Reported that ruby-bdb is BROKEN with 2.0
.if ${RUBY_VER} != 2.0
# For PKG_DBDRIVER={bdb_btree,bdb_hash}
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb.so:${PORTSDIR}/databases/ruby-bdb
.endif
# parsedate is needed for date globbing
.if ${RUBY_VER} == 1.9