Subject: Re: /etc/rc.d/xdm hardcodes /usr/X11R6, i.e. conflicts with modular-x11
To: Erik Bertelsen <bertelsen.erik@gmail.com>
From: Greg Troxel <gdt@ir.bbn.com>
List: current-users
Date: 08/31/2007 13:18:22
"Erik Bertelsen" <bertelsen.erik@gmail.com> writes:

> I suggest that either
>
>  - /etc/rc.d/xdm is updated to locate /usr/pkg/bin/xdm as an acceptable program
>    location and (if needed) required_files also learn about modular-x11
>
> or
>  - /etc/rc.d/xdm is not installed by default (and also not checked by
> postinstall) --
>    instead a sample rc script could be provided by the xdm package.
>
> The latter is probably the most clean situation if we expect XFree86
> to be removed
> in a not too distant future.

I believe your second option is the best path.  When build.sh is run
without -x, then the resulting install should be completely devoid of
X11.  No xdm rc.d script, no config files, and postinstall should expect
that X11 files are not present (and perhaps complain if they are).

Then, packages should provide rc.d scripts as appropriate, much like
non-xorg packages do.

I have the impression that this scheme is mostly in place, and if there
are deviations they are minor and would be viewed as bugs.  So perhaps
sending a patch to fix things would be helpful - I don't expect much
dissent from going down this path.