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

Feature request/suggestion: fall back to /etc/make.conf when no <profile>-make.conf found #189

Open
bitwise-operators opened this issue Apr 12, 2021 · 0 comments

Comments

@bitwise-operators
Copy link

bitwise-operators commented Apr 12, 2021

I just started using synth, and immediately ran into a surprise (after rebuilding everything):
When you don't create a LiveSystem-make.conf, it doesn't use any config file, even if /etc/make.conf exists.

It would be nice if the application would fall back to /etc/make.conf, if it exists and there is no -make.conf.

Alternatively, when the system is initialized and there is an /etc/make.conf, it could be copied to LiveSystem-make.conf, to match the default profile in synth.ini.

As a third alternative, the install script could detect the presence of /etc/make.conf, and warn the user who installed synth that the application will not use it, with instructions to manually copy it to LiveSystem-make.conf (although that might be something I need to submit to the FreeBSD port maintainer, not here).

Regards, and keep up the good work!

EDIT: after rebuilding everything from scratch (again), it seems this isn't the problem.
Wherever the file is located, I can't get synth to honour the DEFAULT_VERSIONS set in my make.conf.

If I specify DEFAULT_VERSIONS+=ssl=libressl, it still builds everything against openssl in base, and if I specify DEFAULT_VERSIONS+=php=7.4, I still have to specfify a flavor when I want to install a port that has php flavors.

Is this a bug, or am I doing something wrong? The same make.conf works fine when using portmaster.

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

No branches or pull requests

1 participant