summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/dist.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-07-16 22:03:27 +0000
committerjkh <jkh@FreeBSD.org>1999-07-16 22:03:27 +0000
commit22b6c0cd79c01b257f69e8ece97344c15f826291 (patch)
tree09688ba7775150a1dac7af92175f91f88cd10c17 /release/sysinstall/dist.c
parent1ea4440a322f68b1efc01c8d9792b19bd5eeb8d9 (diff)
downloadFreeBSD-src-22b6c0cd79c01b257f69e8ece97344c15f826291.zip
FreeBSD-src-22b6c0cd79c01b257f69e8ece97344c15f826291.tar.gz
Don't offer compat dists on alpha since it makes no sense to do so.
Suggested by: msmith
Diffstat (limited to 'release/sysinstall/dist.c')
-rw-r--r--release/sysinstall/dist.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c
index fa48e55..4b47f1e 100644
--- a/release/sysinstall/dist.c
+++ b/release/sysinstall/dist.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: dist.c,v 1.140 1999/05/14 07:15:03 jkh Exp $
+ * $Id: dist.c,v 1.141 1999/06/23 08:40:56 brian Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -73,6 +73,7 @@ static Distribution DistTable[] = {
{ "info", "/", &Dists, DIST_INFO, NULL },
{ "src", "/", &Dists, DIST_SRC, SrcDistTable },
{ "des", "/", &Dists, DIST_DES, DESDistTable },
+#ifdef __i386__
{ "compat1x", "/", &Dists, DIST_COMPAT1X, NULL },
{ "compat20", "/", &Dists, DIST_COMPAT20, NULL },
{ "compat21", "/", &Dists, DIST_COMPAT21, NULL },
@@ -80,6 +81,7 @@ static Distribution DistTable[] = {
#if __FreeBSD__ > 3
{ "compat3x", "/", &Dists, DIST_COMPAT3X, NULL },
#endif
+#endif
{ "ports", "/usr", &Dists, DIST_PORTS, NULL },
{ "XF86333", "/usr", &Dists, DIST_XF86, XF86DistTable },
{ NULL },
@@ -200,8 +202,12 @@ distVerifyFlags(void)
XF86Dists |= DIST_XF86_SERVER;
if (XF86FontDists)
XF86Dists |= DIST_XF86_FONTS;
- if (XF86Dists || XF86ServerDists || XF86FontDists)
+ if (XF86Dists || XF86ServerDists || XF86FontDists) {
Dists |= DIST_XF86;
+#ifdef __i386__
+ Dists |= DIST_COMPAT22; /* For certain old X applications */
+#endif
+ }
if (isDebug())
msgDebug("Dist Masks: Dists: %0x, DES: %0x, Srcs: %0x\nXServer: %0x, XFonts: %0x, XDists: %0x\n",
Dists, DESDists, SrcDists, XF86ServerDists, XF86FontDists, XF86Dists);
OpenPOWER on IntegriCloud