tags 386458 patch
thanks
On Thu, Sep 07, 2006 at 10:06:48PM +0300, Rémi Denis-Courmont wrote:
> Package: libavcodec-dev
> Version: 0.cvs20060823-3
> Severity: grave
> Justification: renders package unusable
>
>
> ffmpeg-config --libs mentions library whose development packages
> libavcodec-dev does not depend upon. Yet without these, the package is
> pretty much unusable, since any attempt to link against it will fail.
Hi,
this is because the variable substitution trick in debian/rules does
not quite work. The attached patch should fix it.
Cheers,
--
Niko Tyni [EMAIL PROTECTED]
--- ffmpeg-0.cvs20060823/debian/rules
+++ ffmpeg-0.cvs20060823/debian/rules
@@ -9,7 +9,7 @@
ifneq (,$(findstring linux,$(DEB_HOST_GNU_TYPE)))
confflags += --enable-dc1394
- lib1394-dev = libraw1394-dev libdc1394-13-dev
+ lib1394-dev = libraw1394-dev, libdc1394-13-dev
else
lib1394-dev =
endif
@@ -177,7 +177,7 @@
dh_makeshlibs -p libpostproc0d -V 'libpostproc0d (>= 0.cvs20060823)'
dh_installdeb
dh_shlibdeps -L libavcodec0d -L libpostproc0d -L libavformat0d -l
debian/libavcodec0d/usr/lib:debian/libavformat0d/usr/lib:debian/libpostproc0d/usr/lib
- dh_gencontrol -Vlib1394-dev=$(lib1394-dev)
+ dh_gencontrol -- -Vlib1394-dev="$(lib1394-dev)"
dh_md5sums
dh_builddeb