summaryrefslogtreecommitdiff
path: root/audio/festival/patches/patch-ad
blob: ecd1fec83cdd9fef1feb44cbbd7052258d3d00aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
$NetBSD: patch-ad,v 1.3 2001/07/18 15:19:36 wiz Exp $

--- speech_tools/config/config.orig	Tue Jul 17 16:03:21 2001
+++ speech_tools/config/config
@@ -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,13 +81,15 @@
 ## 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
 
 ## Elightenment Sound Demon, for KDE etc.
 # INCLUDE_MODULES += ESD_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