Re: [exim] X11BASE in FreeBSD 7

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Richard Clayton
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] X11BASE in FreeBSD 7
In message <alpine.LSU.1.00.0803261437550.3495@???>,
Tony Finch <dot@???> writes

>On Tue, 25 Mar 2008, Richard Clayton wrote:
>>
>> Most people have probably put "X11BASE=/usr/local" into make.conf to fix
>> this up (and the exim port has it's own fix), but the global X11BASE
>> setting is not supposed to be necessary any more... and new installs of
>> FreeBSD 7 do _not_ have this set up by default.
>>
>> Hence, it might be better to set the default file to contain
>>
>>         X11=/usr/local

>
>I'm not entirely happy with that for backwards compatibility reasons. I
>can't find anything in the port that deals with the X11 path - could you
>point me to it?


for ports, X11BASE is set in /usr/ports/Mk/bsd.port.mk

        LOCALBASE?=             /usr/local
        X11BASE?=               ${LOCALBASE}


but of course this file is not picked up when building from just the
source alone, nor does a default install of FreeBSD 7 set it up on a
global basis outside the ports system (something the kernel developers
got bitten by, and they're now having to set it specially to have the
built-in ssh work properly!)

>As far as I can tell from the porters' handbook and the
>ports/Mk/* files, X11BASE is still set as eximon expects.


yes, but it's not set globally for any and all compiles

I suppose a more robust fix would be

        .ifdef  X11BASE
        X11=${X11BASE}
        .else
        X11=/usr/local
        .endif


- -- 
richard                                              Richard Clayton


They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety.         Benjamin Franklin