AdaCore / aws

AWS is a complete framework to develop Web based applications in Ada.
Other
131 stars 37 forks source link

Make 'make setup' macOS-compatible. #368

Closed simonjwright closed 11 months ago

simonjwright commented 1 year ago

'makefile.conf' uses the sed switch '-s', which is not available on macOS; macOS sed is derived from BSD sed, and (according to https://man.freebsd.org/cgi/man.cgi?sed(1)) FreeBSD sed 13.0 doesn't support -s either.

Since the GNU sed -s (--separate) only applies if there are multiple input files, and in each case here there's only one input file, the -s can be removed without penalty.

It would be great if this change could be fed though to the alire version (that’d be v23.0.1, I suppose).

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

simonjwright commented 1 year ago

I should add, this doesn’t stop the build: it’s just worrying.

sed: illegal option -- s
usage: sed script [-Ealnru] [-i extension] [file ...]
        sed [-Ealnu] [-i extension] [-e script] ... [-f script_file] ... [file ...]
TurboGit commented 11 months ago

This is now merged, thanks!