[PATCH 2/3] textproc/gsed: Add GNU sed build support

Chris Johns chrisj at rtems.org
Thu Sep 15 23:54:42 UTC 2022


On 14/9/2022 5:02 pm, chrisj at rtems.org wrote:
> From: Chris Johns <chrisj at rtems.org>
> diff --git a/bare/config/textproc/gsed-internal.bset b/bare/config/textproc/gsed-internal.bset
> new file mode 100644
> index 0000000..e93e1a5
> --- /dev/null
> +++ b/bare/config/textproc/gsed-internal.bset
> @@ -0,0 +1,12 @@
> +#
> +# Internal GNU sed
> +#
> +
> +%define _internal_gsed      yes
> +%define _internal_gsed_path %{_tmppath}/sb-%{_uid}/${SB_PREFIX_CLEAN}
> +%define _disable_collecting yes
> +%define _disable_packaging  yes
> +%define _disable_reporting  yes
> +%define _disable_installing yes

Another issue is the explictic '%include' of this buildset in
rtems-default-tools.bset made these defines appear in the global macro space of
the packages being built and that stops them being packaged and installed. I
used an explicit include to try and share the '_internal_gsed_path' define. I
will need to find another solution to this.

Chris


More information about the devel mailing list