pkgsrc/audio/festival/patches/patch-aa
agc c7313706dc Try to make this package build on all NetBSD platforms; patches from
Eric Schnoebelen in PR 28821, with some modifications by myself (for
configuration purposes).

Tested by myself on NetBSD/i386, and on NetBSD/amd64 by Quentin Garnier.
2005-03-07 10:34:07 +00:00

22 lines
777 B
Text

$NetBSD: patch-aa,v 1.4 2005/03/07 10:35:44 agc Exp $
--- speech_tools/config/system.sh 2005/01/10 09:00:19 1.1
+++ speech_tools/config/system.sh 2005/01/10 09:02:26
@@ -46,7 +46,7 @@
sed -e '/^\([^_]*\).*/s//\1/' -e '/\//s///g'`
# CPU, downcased, /s and some uninteresting details eliminated
-MACHINETYPE=`{ mach || uname -m || echo unknown ; } 2>/dev/null |
+MACHINETYPE=`{ echo unknown ; } 2>/dev/null |
tr ABCDEFGHIJKLMNOPQRSTUVWXYZ/ abcdefghijklmnopqrstuvwxyz_ |
sed -e 's/i[0-9]86/ix86/' \
-e 's/sun4/sparc/' \
@@ -56,7 +56,7 @@
`
# OR revision, only take first two numbers.
-OSREV=`{ uname -r || echo ""; } 2> /dev/null |
+OSREV=`{ echo ""; } 2> /dev/null |
sed -e 's/^\([^.]*\)\(\.[^-. ]*\).*/\1\2/'`
# Sort out various flavours of Linux