Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make 'make setup' macOS-compatible. #368

Closed
wants to merge 1 commit into from
Closed

Make 'make setup' macOS-compatible. #368

wants to merge 1 commit into from

Conversation

simonjwright
Copy link
Contributor

'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).

'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.

  * makefile.conf (SERVER_HTTP2): change -ns to -n.
    (C_HTTP2): likewise.
@CLAassistant
Copy link

CLAassistant commented Aug 4, 2023

CLA assistant check
All committers have signed the CLA.

@simonjwright
Copy link
Contributor Author

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
Copy link
Collaborator

TurboGit commented Dec 5, 2023

This is now merged, thanks!

@TurboGit TurboGit closed this Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants