$NetBSD: patch-aa,v 1.4 2004/09/30 10:53:20 agc Exp $

Basic NetBSD and platform descriptions

--- d2c/compiler/platforms.descr	2002/01/14 11:28:08	1.1
+++ d2c/compiler/platforms.descr	2002/01/14 11:33:01
@@ -298,17 +298,17 @@
 make-command:                   	gmake
 randomize-library-command:      	ranlib %s
 
-// OpenBSD:
-platform-name:				openbsd
+// NetBSD:
+platform-name:				netbsd
 inherit-from:				generic-unix
-default-features:			compiled-for-openbsd
+default-features:			compiled-for-netbsd
 make-command:                   	gmake
 randomize-library-command:      	ranlib %s
 
-// NetBSD:
-platform-name:				netbsd
+// OpenBSD:
+platform-name:				openbsd
 inherit-from:				generic-unix
-default-features:			compiled-for-netbsd
+default-features:			compiled-for-openbsd
 make-command:                   	gmake
 randomize-library-command:      	ranlib %s
 
@@ -601,6 +601,18 @@
 long-long-size:			8
 long-long-alignment:		4
 
+platform-name:			ppc-netbsd-gcc
+inherit-from:			gcc netbsd ppc
+link-shared-library-command:    $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
+long-long-size:			8
+long-long-alignment:		4
+
+platform-name:			sparc-netbsd-gcc
+inherit-from:			gcc netbsd sparc
+link-shared-library-command:    $(LIBTOOL) --mode=link gcc -o %s %s -rpath %s
+long-long-size:			8
+long-long-alignment:		4
+
 platform-name:			x86-beos-gcc
 // Note:  These rules depend on the presence of the MingW utilities in your
 // system PATH.  You may elect to build using Microsoft's compiler, but
