Faac for system using lame sed... :D
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 4 Aug 2007 13:12:58 +0000 (13:12 +0000)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 4 Aug 2007 13:12:58 +0000 (13:12 +0000)
extras/contrib/src/Makefile

index 1b52cc4..0d98d28 100644 (file)
@@ -853,8 +853,8 @@ faac-$(FAAC_VERSION).tar.gz:
 
 faac: faac-$(FAAC_VERSION).tar.gz
        $(EXTRACT_GZ)
-       sed -i 's/\r$//' bootstrap configure.in Makefile.am
        patch -p0 < Patches/faac.patch
+       cd $@; perl -pi -e 's/\r$$//' bootstrap configure.in Makefile.am; cd ..
 
 .faac: faac
        (cd $<; ./bootstrap && $(HOSTCC) ./configure $(HOSTCONF) --without-mp4v2 --prefix=$(PREFIX) --disable-shared && make && make install)