Package: libavifile-0.7-dev
Version: 1:0.7.47.20070718-1.2
Severity: normal
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu intrepid ubuntu-patch

Hi,

In

  https://bugs.edge.launchpad.net/ubuntu/+source/avifile/+bug/139670

it was reported that avifile-config returns 1 even when successful,
which can cause packages which use it to fail to build.

The attached patch from Lionel Le Folgoc is used in Ubuntu to fix this.
Please consider applying it.

Thanks,

James

--- avifile-0.7.47.20070718~/avifile-config.in	2007-07-15 12:55:46.000000000 +0200
+++ avifile-0.7.47.20070718/avifile-config.in	2007-09-15 17:16:34.000000000 +0200
@@ -99,12 +99,35 @@
 
 libs="-laviplay @DTS_LIBS@ @DC1394_LIBS@ @Z_LIBS@"
 #libs="-L$lib_dir @AVIFILE_RLD_FLAGS@ -laviplay"
-test "$lib_dir" != "/usr/lib" && libs="-L$lib_dir $libs"
+if test "$lib_dir" != "/usr/lib"; then
+    libs="-L$lib_dir $libs"
+fi
 
-test "$echo_prefix" = "yes" && echo $prefix
-test "$echo_exec_prefix" = "yes" && echo $exec_prefix
-test "$echo_cflags" = "yes" && echo $cflags
-test "$echo_libs" = "yes" && echo $libs
-test "$echo_data_dir" = "yes" && echo $datadir
-test "$echo_data_root_dir" = "yes" && echo $datarootdir
-test "$echo_version" = "yes" && echo $version
+
+if test "$echo_prefix" = "yes"; then
+    echo $prefix
+fi
+
+if test "$echo_exec_prefix" = "yes"; then
+    echo $exec_prefix
+fi
+
+if test "$echo_cflags" = "yes"; then
+    echo $cflags
+fi
+
+if test "$echo_libs" = "yes"; then
+    echo $libs
+fi
+
+if test "$echo_data_dir" = "yes"; then
+    echo $data_dir
+fi
+
+if test "$echo_data_root_dir" = "yes"; then
+    echo $datarootdir
+fi
+
+if test "$echo_version" = "yes"; then
+    echo $version
+fi

Reply via email to