tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Failure message when inconsistent X11_TYPE



On Tue, Jul 13, 2021 at 06:21:22PM -0400, Greg Troxel wrote:
> 
> Frederic Fauberteau <triaxx%NetBSD.org@localhost> writes:
> 
> >   .if empty(MACHINE_PLATFORM:MNetBSD-[0-5].*)
> >   X11_TYPE?=             native
> >  +.  if !empty(X11_TYPE:Mnative) && !exists(/etc/mtree/set.xbase)
> >  +PKG_FAIL_REASON+=      "Native X11 distribution cannot be used if xbase set has not been installed. You should set X11_TYPE=modular or install xbase set."
> >  +.  endif
> >   .endif
> 
> I'm not really a fan, but I can't really argue against this.

I'm not really in favor of this either. Especially since the feature
test is looking for something completely unrelated to what anything
cares about.

Joerg


Home | Main Index | Thread Index | Old Index