openbsd-ports/shells/tcsh/patches/patch-host.defs
2003-01-02 23:30:21 +00:00

34 lines
1.6 KiB
Plaintext

$OpenBSD: patch-host.defs,v 1.3 2003/01/02 23:30:21 brad Exp $
--- host.defs.orig Tue Jul 23 12:13:21 2002
+++ host.defs Thu Jan 2 18:26:15 2003
@@ -494,6 +494,29 @@ machtype: defined(vax) : "vax"
machtype: defined(alpha) : "alpha"
enddef :
+newdef : defined(__OpenBSD__)
+comment : OpenBSD
+vendor : defined(__alpha__) : "digital"
+vendor : defined(__hppa__) : "hp"
+vendor : defined(M_intel) : "intel"
+vendor : defined(__m68k__) : "motorola"
+vendor : defined(__m88k__) : "motorola"
+vendor : defined(__powerpc__) : "motorola"
+vendor : defined(__sparc__) || defined(__sparc64__) : "sun"
+vendor : defined(__vax__) : "digital"
+hosttype: : "OpenBSD"
+ostype : : "OpenBSD"
+machtype: defined(__alpha__) : "alpha"
+machtype: defined(__hppa__) : "hppa"
+machtype: defined(M_i386) : "i386"
+machtype: defined(__m68k__) : "m68k"
+machtype: defined(__m88k__) : "m88k"
+machtype: defined(__sparc64__) : "sparc64"
+machtype: defined(__sparc__) : "sparc"
+machtype: defined(__powerpc__) : "powerpc"
+machtype: defined(__vax__) : "vax"
+enddef :
+
newdef : defined(__FreeBSD__)
comment : FreeBSD