pkgsrc/multimedia/libmp4v2/patches/patch-aa
2007-02-15 22:52:15 +00:00

29 lines
848 B
Text

$NetBSD: patch-aa,v 1.2 2007/02/15 22:52:15 joerg Exp $
--- bootstrap.orig 2005-08-12 17:17:17.000000000 +0000
+++ bootstrap
@@ -34,14 +34,13 @@ 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"
else
echo "SDL does not appear to be installed - install the SDL development package"
echo "You must have sdl-config in your path to continue"
- exit 1
fi
allargs="$@"
@@ -56,7 +55,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