ports-mgmt/portupgrade*: Use databases/rubygem-dbm with Ruby 3.2
databases/ruby-bdb is BROKEN with Ruby 3.2. PR: 268207 Approved by: maintainer timeout MFH: 2023Q1
This commit is contained in:
parent
5802766509
commit
2a325f4cc5
@ -40,8 +40,13 @@ INSTALL_TARGET= install
|
||||
INSTALL_TARGET+= install-doc
|
||||
.endif
|
||||
|
||||
.if ${RUBY_VER} >= 3.2
|
||||
# databases/ruby-bdb is BROKEN with Ruby 3.2
|
||||
RUN_DEPENDS+= rubygem-dbm>0:databases/rubygem-dbm
|
||||
.else
|
||||
# For PKG_DBDRIVER={bdb_btree,bdb_hash}
|
||||
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb.so:databases/ruby-bdb
|
||||
.endif
|
||||
|
||||
regression-test: patch
|
||||
cd ${WRKSRC} && ${MAKE} test
|
||||
|
@ -39,8 +39,13 @@ INSTALL_TARGET= install
|
||||
INSTALL_TARGET+= install-doc
|
||||
.endif
|
||||
|
||||
.if ${RUBY_VER} >= 3.2
|
||||
# databases/ruby-bdb is BROKEN with Ruby 3.2
|
||||
RUN_DEPENDS+= rubygem-dbm>0:databases/rubygem-dbm
|
||||
.else
|
||||
# For PKG_DBDRIVER={bdb_btree,bdb_hash}
|
||||
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/bdb.so:databases/ruby-bdb
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/compat/pkg
|
||||
|
Loading…
Reference in New Issue
Block a user