When compiling a port, how can I get it to skip through every single configuration screen and use the defaults? reddit / freebsd ---------------------------------------------------------------------- WoomyUnitedToday · 2023-06-22 06:12 Basically every time I want to install something I have to press enter, press enter again… for the 190 or however many dependencies the thing I’m installing has. This is especially annoying because of how slow my processor is, it takes absolutely ages between screens. Compiling even small ports results in my mom yelling at me to get off the computer because I literally have to stare at it for hours pressing enter for each thing. Is there any way to have it assume ok on everything, or do I have to buy a weight to put on the enter key? ---------------------------------------------------------------------- whattteva · 2023-06-22 06:18 Since you're just using the defaults and want to install as fast as possible..... why not just use uh.... pkg install? ---------------------------------------------------------------------- Grogdor · 2023-06-22 06:56 make config-recursive ^ Let's you hit all the enters/options in advance instead of during compiles. Or there's a -D flag and some batch options, did you tryyyyy https://www.google.com/search?q=freebsd+ports+install+default ---------------------------------------------------------------------- WoomyUnitedToday · 2023-06-22 06:58 Because there are basically no binaries for such common software like xfce and Firefox on PowerPC, there probably is on amd64, just not ppc. (I would just use the binaries if they existed) ---------------------------------------------------------------------- WoomyUnitedToday · 2023-06-22 06:59 Thank you! I will try -D tomorrow ---------------------------------------------------------------------- grahamperrin · 2023-06-22 07:02 Poudriere can do this. A configuration dialogue for just one port, with the `-n` flag. % poudriere options -ns www/firefox [00:00:00] Working on options directory: /usr/local/etc/poudriere.d/options … [00:00:00] Re-run 'poudriere options' with the -c flag to modify the options. % ---------------------------------------------------------------------- LifeIsACurse · 2023-06-22 08:07 that's what she said ---------------------------------------------------------------------- timvandijknl · 2023-06-22 09:20 With uh... `Make -D NO_DIALOG` for example. ---------------------------------------------------------------------- Senior_Estimate6897 · 2023-06-22 13:11 Thanks for the tips! I was about to throw my keyboard out the window. #savinghardware ---------------------------------------------------------------------- mss-cyclist · 2023-06-22 16:28 make -DBATCH ---------------------------------------------------------------------- EndSignificant4955 · 2023-06-22 16:43 Just `make config` first if you need to config something, later just do: `make install clean BATCH=YES` ---------------------------------------------------------------------- grahamperrin · 2023-06-22 18:13 > uh... Make -D NO_DIALOG for example. In [make\(1\)](https://man.freebsd.org/cgi/man.cgi?query=make&sektion= 1&manpath=freebsd-release) I see `-D`, but how would a person discover things such as `NO_DIALOG`? ---------------------------------------------------------------------- timvandijknl · 2023-06-22 19:17 No idea actually 🤔 I guess it's an urban myth or a legacy thing ? ---------------------------------------------------------------------- [deleted] · 2023-06-22 19:40 [deleted] ---------------------------------------------------------------------- kevans91 · 2023-06-22 20:18 `-D` defines variables, which are used by some part of the build framework. It depends on what you're doing; for ports, you might look at [ports(7)](https://man.freebsd.org/cgi/man.cgi?query=ports&sektion= 7&manpath=freebsd-release) in the `ENVIRONMENT` or `MAKE VARIABLES` section. `BATCH` might be of particular interest for this particular post.