summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-05-05 20:15:38 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-05-05 20:15:38 +0000
commitf2793530944ca18720352b153012a35b3ae04ed8 (patch)
tree9553a5ec67508d82691bad5e9bd977778cc480f9
parentc3b2241393ec4dbe5e5a691a693379d0807fd26c (diff)
When talking about third-party application and the ports system, only reference
tinkering {Free,Net}BSD and/or even running their packages under compatibility mode, if there is actually a port of these systems to the current architecture. For example, it does not make sense to mention the FreeBSD ports collection on an m68k system... Suggested by David Coomber.
-rw-r--r--distrib/notes/packages44
1 files changed, 39 insertions, 5 deletions
diff --git a/distrib/notes/packages b/distrib/notes/packages
index 219065e353d..c23622b6fa8 100644
--- a/distrib/notes/packages
+++ b/distrib/notes/packages
@@ -1,4 +1,4 @@
-dnl $OpenBSD: packages,v 1.28 2003/03/25 19:01:37 pvalchev Exp $
+dnl $OpenBSD: packages,v 1.29 2003/05/05 20:15:37 miod Exp $
As complete as your OpenBSD system is, you may want to add any of several
excellent third party software applications. There are several ways to do
this. You can:
@@ -1109,15 +1109,49 @@ Installing applications from the OpenBSD ports collection:
You should also refer to the ports(7) manual page.
+dnl
+dnl If this architecture is also supported under FreeBSD or NetBSD, define
+dnl text that tells which ports collection you can try to tinker with.
+dnl
+define({:-PORTS-:},
+{:-ifelse(
+MACHINE_ARCH,alpha,{:-FreeBSD
+ ports or NetBSD package collection-:},
+MACHINE_ARCH,hppa,{:-NetBSD
+ package collection-:},
+MACHINE_ARCH,i386,{:-FreeBSD
+ ports or NetBSD package collection-:},
+MACHINE_ARCH,m68k,{:-NetBSD
+ package collection-:},
+MACHINE_ARCH,powerpc,{:-NetBSD
+ package collection-:},
+MACHINE_ARCH,sparc,{:-NetBSD
+ package collection-:},
+MACHINE_ARCH,sparc64,{:-FreeBSD
+ ports or NetBSD package collection-:},
+MACHINE_ARCH,vax,{:-NetBSD
+ package collection-:})-:})dnl
+dnl
+dnl If this architecture supports FreeBSD or NetBSD emulation by default,
+dnl define text that tells which binary packages you can try to run.
+dnl
+define({:-EMUL-:},
+{:-ifelse(
+MACHINE_ARCH,alpha,{:-NetBSD-:},
+MACHINE_ARCH,i386,{:-FreeBSD-:})-:})dnl
+dnl
Installing other applications:
If an OpenBSD package or port does not exist for an application
you're pretty much on your own. The first thing to do is ask
<ports@openbsd.org> if anyone is working on a port -- there may
- be one in progress. If no luck there you may try the FreeBSD
- ports or NetBSD package collection. If you are on an i386 based
- machine it is quite possible that the FreeBSD port, if one exists,
- will work for you.
+ be one in progress.
+
+ ifelse(PORTS,,,{:-If no such port exists, you might want to tinker with the PORTS.
+-:})dnl
+ ifelse(EMUL,,,{:-It is also quite possible that the EMUL binary packages,
+ if they exist, will work for you.
+-:})dnl
If you can't find an existing port try to make your own and
feed it back to OpenBSD. That's how our ports collection grows.