Subject: ONLY_FOR_ARCH in pkg's
To: None <tech-userlevel@NetBSD.ORG>
From: Tim Rightnour <root@garbled.net>
List: tech-userlevel
Date: 06/20/1998 04:02:36
I've been fiddling around with some pkgs lately, and was thinking about using
the ONLY_FOR_ARCH define on them.. Unfortunately, this requires two things:
#1: To have a list of arches that netbsd runs on
#2: To know that list won't change tomorrow.
The problem being, if you have something that works on everything *except*
alpha, or *except* alpha and mips.. then you run into a mess of:
i386 hp300 mvme68k blah blah blah.
And then when something like next68k comes along, blam, it breaks on that
because it wasn't listed.
What I think we really need, is a NOT_FOR_ARCH define, so I can go and say:
NOT_FOR_ARCH= alpha mips
And not have it break someone else because I forgot thier port existed, or they
just sprung up on me. Beyond that, its kind of a pain to type out however many
arches (sans 1 or 2), and its only going to get worse as netbsd becomes more
and more successful.
This also gives us a way to temporarily disable a build on a particular arch,
until it can be properly fixed. For something like alpha, this would be a
major win, as there are some pkgs which I cannot forsee a fix for in the near
future.
---
Tim Rightnour - root@garbled.net
http://www.zynetwc.com/~garbled/garbled.html