Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2023 15:01:18 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        Muhammad Moinur Rahman <bofh@FreeBSD.org>, ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 18c6e1827669 - main - Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Message-ID:  <aeb05e27-3f8c-bb52-9784-de38137f5fd6@fechner.net>
In-Reply-To: <202301142309.30EN9L5C056919@gitrepo.freebsd.org>
References:  <202301142309.30EN9L5C056919@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Dear Moin,

Am 15.01.2023 um 01:09 schrieb Muhammad Moinur Rahman:
>      Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
>      
>      Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk
>      
>      Notable changes are.
>      
>      - Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
>      - USE_RUBY=yes is replaced with USES=ruby.
>      - USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
>      - USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
>      - USE_RUBY_SETUP is replaces with USES=ruby:setup.
>      - RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
>        USES=ruby:{build,none,run}.
>      - RUBY_REQUIRE isn't used anywhere, so removed.
>      - USES=gem now implies USES=ruby.

I maybe found a problem, but I'm not sure if it is related to this commit.
I introduced a new gem:
devel/rubygem-oj-intospect

which requires header files the port devel/rubygem-oj does not install.
I patched that in using a post-install step:
https://cgit.freebsd.org/ports/commit/?id=1fab538b26e72213c9d9db49dc5b68f74a0967d3

and I bump the port again (as there was a merge conflict after I merged 
this branch after nearly 2 month of work):
https://cgit.freebsd.org/ports/commit/?id=7f44d4554da51383086a2edc6b0bc2567c8aa274

But it seems that the header files are not included anymore, just 
unpacked the .pkg file from oj gem.

Do you maybe have an idea why the files are not included anymore and if 
this is maybe related to this change or to another change?

Please see also this PR:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269020

Thanks a lot
Matthias


-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aeb05e27-3f8c-bb52-9784-de38137f5fd6>