Package: ffmpeg
Version: 0.cvs20060823-4
Severity: wishlist
Tags: patch

When the environment variable DEB_BUILD_OPTIONS contains debug,
--enable-debug is added to the conffile variable and thus passed to
./configure. Configure doesn't have this flag (enable debug is the
default), and thus fails...

The attached patch fixes the problem.

-- 
Regards,
Andreas Henriksson
diff -uriNp ffmpeg-0.cvs20060823/debian/rules 
ffmpeg-0.cvs20060823.fixed/debian/rules
--- ffmpeg-0.cvs20060823/debian/rules   2007-01-11 14:09:03.000000000 +0100
+++ ffmpeg-0.cvs20060823.fixed/debian/rules     2007-01-11 14:08:29.000000000 
+0100
@@ -14,9 +14,7 @@ else
   lib1394-dev =
 endif
 
-ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
-  confflags += --enable-debug
-else
+ifeq (,$(findstring debug,$(DEB_BUILD_OPTIONS)))
   confflags += --disable-debug
 endif
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))

Reply via email to