Hi, I noted while playing around with portgen, that it chokes on gems which specify an exact version requirement. Patch below allows it to continue.
Kind regards, Thomas diff --git infrastructure/lib/OpenBSD/PortGen/Port/Ruby.pm infrastructure/lib/OpenBSD/PortGen/Port/Ruby.pm index 2cacf932323..1e8d2ee95d5 100644 --- infrastructure/lib/OpenBSD/PortGen/Port/Ruby.pm +++ infrastructure/lib/OpenBSD/PortGen/Port/Ruby.pm @@ -111,6 +111,8 @@ sub get_deps $ver =~ s/(\d)\.\d$/($1+1).".0"/e; $req .= ",<$ver"; } + # turn =6.0.2.2 into ==6.0.2.2 + $req =~ s/^=/==/; $deps->add_run( $port . ',${MODRUBY_FLAVOR}', $req );