aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorKoichiro Iwao <meta@FreeBSD.org>2019-04-02 08:02:30 +0000
committerKoichiro Iwao <meta@FreeBSD.org>2019-04-02 08:02:30 +0000
commit7e9e8d963e36be1ba2119a714568b86753765ea4 (patch)
tree34d25b7c6327222dd5259794af73c3ee9ac1991c /lang
parent2af41950cfadcd426377c4934f99e0e1818c3df9 (diff)
downloadports-7e9e8d963e36be1ba2119a714568b86753765ea4.tar.gz
ports-7e9e8d963e36be1ba2119a714568b86753765ea4.zip
databases/ruby-gdbm: Gemify gdbm
since gdbm is gemified in upstream after Ruby 2.5 [1]. Ruby 2.4 can also use the gdbm gem because it is a gem! - Add MOVED entry - Bump PORTEPOCH because PORTVERSION goes barwards - Update pkg-descr and WWW - Remove unnecessary pkg-message [1] https://bugs.ruby-lang.org/issues/5481 Update lang/ruby* ports: - Do not build gdbm together with Ruby interpreter, but build as a rubygem - Remove ${BUILD_WRKSRC}/ext/gdbm instead of moving it to ${WRKDIR} - Update pkg-message to mention rubygem-gdbm instead of ruby-gdbm Also following changes are made to ruby-gdbm consumers: - Updade dependency to depend on rubygem-gdbm - Bump PORTREVISION due to dependency change PR: 230436 Submitted by: Yasuhiro KIMURA <yasu@utahime.org> Sponsored by: HAW International, Inc.
Notes
Notes: svn path=/head/; revision=497555
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby24/Makefile4
-rw-r--r--lang/ruby24/pkg-message2
-rw-r--r--lang/ruby25/Makefile4
-rw-r--r--lang/ruby25/pkg-message2
4 files changed, 4 insertions, 8 deletions
diff --git a/lang/ruby24/Makefile b/lang/ruby24/Makefile
index 79aa4f984d7e..5726f4c0c59c 100644
--- a/lang/ruby24/Makefile
+++ b/lang/ruby24/Makefile
@@ -133,11 +133,9 @@ RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]
post-patch:
@${FIND} ${WRKSRC}/ -name "*.orig" -delete
# We get these from other ports
-.for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb ext/win32ole bin/gem
+.for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb ext/win32ole bin/gem ext/gdbm
@${RM} -r ${BUILD_WRKSRC}/${d}
.endfor
-# Used by databases/ruby-gdbm port
- @${MV} ${BUILD_WRKSRC}/ext/gdbm ${WRKDIR}/
post-build:
#
diff --git a/lang/ruby24/pkg-message b/lang/ruby24/pkg-message
index 51f167809e4b..b40275581dbf 100644
--- a/lang/ruby24/pkg-message
+++ b/lang/ruby24/pkg-message
@@ -8,7 +8,7 @@ of upgrading:
And some of the standard libraries are provided as separate ports
since they require extra dependencies:
- databases/ruby-gdbm: GDBM module
+ databases/rubygem-gdbm: GDBM module
Install them as occasion demands.
====
diff --git a/lang/ruby25/Makefile b/lang/ruby25/Makefile
index b12812b22d01..2b1b7f85fe13 100644
--- a/lang/ruby25/Makefile
+++ b/lang/ruby25/Makefile
@@ -133,11 +133,9 @@ RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]
post-patch:
@${FIND} ${WRKSRC}/ -name "*.orig" -delete
# We get these from other ports
-.for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb ext/win32ole bin/gem
+.for d in bin/rake doc/rake lib/rake test/rake man/rake.1 lib/rake.rb ext/win32ole bin/gem ext/gdbm
@${RM} -r ${BUILD_WRKSRC}/${d}
.endfor
-# Used by databases/ruby-gdbm port
- @${MV} ${BUILD_WRKSRC}/ext/gdbm ${WRKDIR}/
post-build:
#
diff --git a/lang/ruby25/pkg-message b/lang/ruby25/pkg-message
index 51f167809e4b..b40275581dbf 100644
--- a/lang/ruby25/pkg-message
+++ b/lang/ruby25/pkg-message
@@ -8,7 +8,7 @@ of upgrading:
And some of the standard libraries are provided as separate ports
since they require extra dependencies:
- databases/ruby-gdbm: GDBM module
+ databases/rubygem-gdbm: GDBM module
Install them as occasion demands.
====