pkgsrc/multimedia/mpeg4ip/patches/patch-aa

32 lines
915 B
Text

$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