-
Notifications
You must be signed in to change notification settings - Fork 36
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
Use sed in a more POSIX compliant way #113
Conversation
Thanks! I don't see the need for Davix is officially supported on |
removed the gcc->cc thing. it does seem to work fine with llvm though :) |
the problem I'm trying to solve is building as an automatic dependency of root on FreeBSD. gcc is not always there (can be installed, but it is a rather large dependency), llvm is the default. Davix and the rest can be built via the ports tree where these issues can be patched, but it would be nice if root could be built from source with as little effort as possible, just relying on roots own build system. |
Hello, Yes, but we shouldn't change things in Davix to non-supported configurations just for the purpose of having Root build 🙂 Thanks! |
Note that this PR is not fully correct since POSIX
The correct incarnation would be More generally, the script talks about SLC6 and CC7 which are both EOL. Is it maybe time to just remove this script? |
The build fix for FreeBSD is included already since DAVIX 0.8.6, so the PATCH_COMMAND is not needed (it was merged because the PR was older, opened in February, than the upgrade of the builtin in May). In fact the command breaks builtin_davix on Linux systems because `sed -i` is not portable between GNU sed and BSD sed. (Note that the same is true for the patch itself, see my comment in cern-fts/davix#113 (comment) .)
The build fix for FreeBSD is included already since DAVIX 0.8.6, so the PATCH_COMMAND is not needed (it was merged because the PR was older, opened in February, than the upgrade of the builtin in May). In fact the command breaks builtin_davix on Linux systems because `sed -i` is not portable between GNU sed and BSD sed. (Note that the same is true for the patch itself, see my comment in cern-fts/davix#113 (comment) .)
Fixes #112