gperf is needed for building g++. For clang architectures (i386, amd64, arm) we don't need it.
Details
- Reviewers
ngie bapt - Commits
- rS272849: Build gperf only if we're using g++ (not clang++)
exp-run in PR194103
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
This makes sense but would require an exp-run as many ports will expect gperf in base
sounds good - I submitted a PR to request an exp-run already in https://bugs.freebsd.org/194103
Would it make sense to make this a separate knob in src.opts.mk, then default it to off in the MK_CXX == no case?
Would it make sense to make this a separate knob in src.opts.mk, then default it to off in the MK_CXX == no case?
I don't think so. Both gcc and gperf will disappear from base, so anyone who would set a WITH_GPERF= knob should just instead install the gperf port today.
Add man and info pages as noted by antoine@
(Note info page is duplicated since it's also in the broader info removal.)
FreeBSD as an OS has grown considerably over time. I would expect the options to grow with the number of new features in the OS.
A lot of stuff could and should be provided as packages. I was going to add options for ftpd, inetd, and tftpd soon because they can be supplemented/replaced with external packages (Isilon does that).
FreeBSD as an OS has grown considerably over time. I would expect the options to grow with the number of new features in the OS.
A lot of stuff could and should be provided as packages. I was going to add options for ftpd, inetd, and tftpd soon because they can be supplemented/replaced with external packages (Isilon does that).
I think we're in general agreement here. My point is that we are on a path to avoid having gperf in the src tree altogether, and my change disables it by default where clang is used today. So the way to get it if you need it is to install the port, not to add a knob to continue building it for now.