pkgsrc-Bugs archive

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

Re: pkg/56299 (Native X11_TYPE on NetBSD even if /usr/X11R7 does not exist)

The following reply was made to PR pkg/56299; it has been noted by GNATS.

From: David Holland <>
Subject: Re: pkg/56299 (Native X11_TYPE on NetBSD even if /usr/X11R7 does not
Date: Wed, 7 Jul 2021 17:40:07 +0000

 On Wed, Jul 07, 2021 at 10:55:01AM +0000, Frederic Fauberteau wrote:
  > If it is correct that a NetBSD can be fully functional without the
  > xbase set, setting X11_TYPE to native only if /usr/X11R7 exists
  > seems reasonable to me, since the directory of X's files has been
  > named as this since NetBSD 5.
 It can, but normally because of the base mtree files that gives you an
 empty /usr/X11R7, not a missing one, so in most cases the proposed
 test won't work as intended.
 One could concoct one that works, but I'm not sure this is something
 that should attempt to autoselect itself, since if you update base and
 add the X sets it will cause pkgsrc to change course in midstream and
 (without explicit intervention) you'll get a broken mixture of native
 and pkgsrc X.
 If you want it to, I would take this point up on tech-pkg where more
 people will see it.
 however, do look into why your mount didn't work as expected as it
 sounds like that shouldn't have happened.
 David A. Holland

Home | Main Index | Thread Index | Old Index