git: 57bb7137aab0 - main - misc/sdformat: Fix build with Ruby 3.x
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Mar 2022 05:04:54 UTC
The branch main has been updated by yasu:
URL: https://cgit.FreeBSD.org/ports/commit/?id=57bb7137aab071f97655c20b00787505a4e43b55
commit 57bb7137aab071f97655c20b00787505a4e43b55
Author: Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-03-12 18:04:22 +0000
Commit: Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-03-14 04:59:00 +0000
misc/sdformat: Fix build with Ruby 3.x
Since Ruby 3.0 rexml is converted to bundled gem. On the other hand
our Ruby ports (lang/rubyXY) don't install bundled gems. So rexml
isn't included in packages of Ruby 3.x and ports that require rexml
need to add textproc/rubygem-rexml to their dependency explicitly.
PR: 262506
Approved by: maintainer
---
misc/sdformat/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/misc/sdformat/Makefile b/misc/sdformat/Makefile
index 313dfea6d470..2f6cea54cc9b 100644
--- a/misc/sdformat/Makefile
+++ b/misc/sdformat/Makefile
@@ -10,7 +10,8 @@ COMMENT= Simulation Description Format (SDF) parser and description files
LICENSE= APACHE20
BUILD_DEPENDS= ignition-cmake==2:devel/ignition-cmake \
- ignition-tools>0:devel/ignition-tools
+ ignition-tools>0:devel/ignition-tools \
+ rubygem-rexml>0:textproc/rubygem-rexml
LIB_DEPENDS= libignition-math6.so:math/ignition-math \
libconsole_bridge.so:devel/ros-console_bridge \
libtinyxml2.so:textproc/tinyxml2 \