summaryrefslogtreecommitdiff
path: root/multimedia/mpeg4ip/patches/patch-aa
blob: 5dbcd735218ac743cad5e67f052562ef5f9e984c (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
$NetBSD: patch-aa,v 1.3 2009/08/11 13:11:23 drochner Exp $

--- bootstrap.orig	2005-08-12 19:17:17.000000000 +0200
+++ bootstrap
@@ -34,7 +34,7 @@ if (test ! -f "$MPEG4IP_SRC/configure") 
     exit 1
 fi
 
-target_system=`uname -s`
+target_system=Linux
 if sdl-config --version >/dev/null 2>/dev/null
     then
     echo "SDL appears to be installed"
@@ -48,7 +48,8 @@ allargs="$@"
 #
 # Test for faac and possible error
 #
-if test $target_system = "Linux"; then
+#if test $target_system = "Linux"; then
+if false; then
     have_faac=no
     if which faac >/dev/null 2>/dev/null; then
 	have_faac=yes
@@ -56,7 +57,7 @@ if test $target_system = "Linux"; then
 
     if test $have_faac = "yes"; then
 	# we have lame and faac - see if faac is built with mp4 support
-	faac --help >&faac_help
+	faac --help >faac_help 2>&1
 	sdf=`grep "MP4 support unavailable" faac_help`
 	rm -f faac_help
 	if test -z "$sdf"; then