$NetBSD: patch-ad,v 1.2 1999/10/11 14:13:49 proff Exp $

--- speech_tools/config/config	Mon Oct 11 07:48:44 1999
+++ speech_tools/config/config	Mon Oct 11 05:57:33 1999
@@ -15,7 +15,7 @@
 ## You may need to set this explicitly if automounter or NFS
 ## side effects cause problems
 
-EST_HOME := $(shell (cd $(EST); pwd))
+EST_HOME := $(PKG_EST_HOME)
 
 ###########################################################################
 ## System type. 
@@ -28,15 +28,19 @@
 ## 
 ## Examples: sparc_SunOS5 intel_Linux2.0
 
-SYSTEM_TYPE=$(MACHINETYPE)_$(OSTYPE)$(OSREV)
+#SYSTEM_TYPE=$(MACHINETYPE)_$(OSTYPE)$(OSREV)
+# unforunately the above does not fit in well with NetBSD's multiple
+# architectures and frequent changes of revision level (for people running
+# NetBSD-current)
+SYSTEM_TYPE=NetBSD
 
 ###########################################################################
 ## Compiler.
 ## The definitions are in compilers/$(COMPILER).mak
 ## Examples: gcc suncc egcs gcc28
 
-COMPILER=gcc
-
+#COMPILER=gcc
+COMPILER=$(PKG_COMPILER)
 ###########################################################################
 ## Java system to use if you include the Java interface.
 ## Examples jdk
@@ -77,10 +81,12 @@
 ## specify a program to play files in a desired format.
 
 ## NCD's network audio system, This is recommended.
-# INCLUDE_MODULES += NAS_AUDIO
+INCLUDE_MODULES += NAS_AUDIO
 
 ## Native audio for your platform (sun, linux, freebsd, irix, windows)
-INCLUDE_MODULES += NATIVE_AUDIO
+#INCLUDE_MODULES += NATIVE_AUDIO
+# The NetBSD pkg doesn't support native audio at this time. NAS is
+# superior for most applications.
 
 ## Special code to run Windows MPLAYER
 # INCLUDE_MODULES += MPLAYER_AUDIO