tech-pkg archive

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

Re: netbsd-5, MesaLib, changing default to X11_TYPE=modular

Greg Troxel <> writes:

> For a long time, netbsd-5 bulk builds have had a massive number of
> failures due to MesaLib.  Really this is due to the base system X11 bits
> in netbsd-5 being crufty.  I have thus set X11_TYPE=modular, and many
> more packages get built.
> Given this, I think we should make netbsd-5 default to X11_TYPE=modular.
> But I'm not sure of what other consequences there are - what do others think?

Responses to date have been

  (1) Good idea
  (1) It's too bad pkgsrc doesn't work well with native X11 on NetBSD-5.

and no objections.   So I'll commit the following tomorrow.  If you use
X11_TYPE=native on NetBSD-5 and think it's the better choice for bulk
builds and general use, please speak up.

Index: mk/platform/
RCS file: /cvsroot/pkgsrc/mk/platform/,v
retrieving revision 1.39
diff -u -p -r1.39
--- mk/platform/       28 Apr 2013 12:53:56 -0000      1.39
+++ mk/platform/       14 Mar 2014 00:20:28 -0000
@@ -42,7 +42,10 @@ ULIMIT_CMD_stacksize?=       ulimit -s `ulimit
 ULIMIT_CMD_memorysize?=        ulimit -m `ulimit -H -m`
 # Native X11 is only supported on NetBSD-5 and later.
-.if empty(MACHINE_PLATFORM:MNetBSD-[0-4].*)
+# On NetBSD-5, we prefer modular because MesaLib fails
+# to build with native, leading to thousands of failed
+# packages.
+.if empty(MACHINE_PLATFORM:MNetBSD-[0-5].*)
 X11_TYPE?=             native

Attachment: pgpOF2ApkM2Yz.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index