[csw-maintainers] build requirements

Dagobert Michelsen dam at opencsw.org
Wed Dec 17 20:06:52 CET 2008


Hi Ben,

Am 16.12.2008 um 22:28 schrieb Ben Walton:
> I now have a gar description for git that builds it but am seeing
> tests fail.  So far, all failures are related to an implicit
> assumption that sed == gnu sed.  Modifying the test files to call gsed
> seems to get things going.  So, I have a few options:
>
> 1. Create a patch per 'bad' assumption (where bad == 'bad for me
>    because it makes more work')
> 2. Add some autoconf magic, and alter the test harness to include the
>    file generated by configure, thus allowing for a user specifiable
>    $(sed) program.  Submit this upstream.
> 3. Use PREREQUISITE_PKGS += CSWgnulinks and prepend /opt/csw/gnu to
>    the GARPATH.

The absolute best thing would be to check in configure if sed has
the appropriate features and search through path for all sed or gsed.
If it is only for tests I'd go with 3.

Best regards

   -- Dago



More information about the maintainers mailing list