$OpenBSD: patch-script_harch,v 1.2 2007/01/05 09:32:50 robert Exp $

Let PLIST work nicely with MACHINE_ARCH

--- script/harch.orig	Thu Feb 13 11:08:43 2003
+++ script/harch	Thu Jan  4 19:38:14 2007
@@ -48,11 +48,14 @@ REL=`echo $REL | tr '/ 	' '-'`
 
 # Canonicalise equivalent processor families to one representative member.
 case $PROCESSOR in
-  i[3456789]86)	PROCESSOR=ix86;;
-  athlon)       PROCESSOR=ix86;;
+  i[3456789]86)	PROCESSOR=i386;;
+  athlon)       PROCESSOR=i386;;
   sun3*)	PROCESSOR=sun3;;
   sun4*)	PROCESSOR=sun4;;
   sparc*)	PROCESSOR=sparc;;
+  macppc*)	PROCESSOR=powerpc;;
+  armish*)	PROCESSOR=arm;;
+  landisk*)	PROCESSOR=sh;;
 esac
 
 # Keep OS release number only if it might be relevant.
