There are cases where you want to compile some port not directly related to X but the dependency is missing if you didn't load the X sets. I don't remember the particular, but I know this has happened to me.
devin On Jan 12, 2013, at 9:33 PM, Bob Beck wrote: > No, I normally install all the X sets, I just do not run X on the console. > So I don't like this. > > On Wed, Jan 9, 2013 at 3:43 PM, Gleydson Soares <[email protected]>wrote: > >> the diff below changes src/distrib/miniroot/install.sub to by default skip >> x* sets if someone do not expect to run X >> "Do you expect to run the X Window System [no]" >> >> if someone still want to install those sets may select by hand afterwards: >> "Set name(s)? (or 'abort' or 'done') [done] x*" >> >> i've compile a RAMDISK_CD and seems to work fine. >> >> ok? feedback? >> Index: install.sub >> =================================================================== >> RCS file: /cvs/src/distrib/miniroot/install.sub,v >> retrieving revision 1.674 >> diff -u -p -r1.674 install.sub >> --- install.sub 2 Jan 2013 20:35:00 -0000 1.674 >> +++ install.sub 11 Jan 2013 23:41:45 -0000 >> @@ -1098,8 +1098,9 @@ install_files() { >> for _f in $THESETS; do >> isin $_f $_files || continue; >> _sets=$(addel $_f $_sets) >> - if [[ -z $DISPLAY && ! -d /mnt/etc/X11 ]]; then >> - # No displays and X isn't installed ==> skip X sets >> + if [[ -z $DISPLAY && ! -d /mnt/etc/X11 || $x11 == n ]]; >> then >> + # No displays and X isn't installed or do not >> expect to run X >> + # => skip X sets >> isin ${_f%${VERSION}.tgz} xbase xetc xshare xfont >> xserv && continue >> fi >> isin $_f $DEFAULTSETS "site$VERSION-$(hostname -s).tgz" && >> \
