Hello all,

the patch on MediaKit's GNUmakefile that went into svn yesterday seems
to need some minor amendments: The quantifier in the second sed-regex
needs to operate on the space, not the line-end and the corresponding
statement for libavformat was missing. Fixed in the attached patch.

Cheers,


Niels
Index: Frameworks/MediaKit/GNUmakefile
===================================================================
--- Frameworks/MediaKit/GNUmakefile	(revision 4690)
+++ Frameworks/MediaKit/GNUmakefile	(working copy)
@@ -34,13 +34,17 @@
 	 	#echo `pkg-config --cflags-only-I libavcodec` | sed 's/[ ]*$$/\/ libavcodec/g';\
 
 NEW_AVCODEC_INCLUDE_DIR = $(shell if [ `pkg-config --cflags-only-I libavcodec | sed 's/ //g'` ];  then\
-	 	echo `pkg-config --cflags-only-I libavcodec | sed 's/[ ]$$*/\/libavcodec/g'`;\
+	 	echo `pkg-config --cflags-only-I libavcodec | sed 's/[ ]*$$/\/libavcodec/g'`;\
 	 else\
 	 	echo -I/usr/include/libavcodec;\
 	 fi)
+NEW_AVFORMAT_INCLUDE_DIR = $(shell if [ `pkg-config --cflags-only-I libavformat | sed 's/ //g'` ];  then\
+		echo `pkg-config --cflags-only-I libavformat | sed 's/[ ]*$$/\/libavformat/g'`;\
+	else\
+		echo -I/usr/include/libavformat;\
+	fi)
 
 
-
 ADDITIONAL_OBJCFLAGS += $(NEW_AVCODEC_INCLUDE_DIR) $(NEW_AVFORMAT_INCLUDE_DIR)
 
 # If you install OSS 4 in Ubuntu, the header files are located here:
_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to