dpatch

Felipe Sateler fsateler at gmail.com
Mon Mar 16 01:33:27 UTC 2009


On Mon, Mar 16, 2009 at 10:14, Jaromír Mikeš <mira.mikes at seznam.cz> wrote:
> Hello,
Hi

>
> despite of studying doc and How-to http://packaging-handbook.alioth.debian.org/wiki/PatchSystems/
> can't get makefile patched properly.
>
> Can somebody help me pls?
>
> I have makefile.patch in debian/patches and also 00list there with line makefile.patch
> And dpatch installed.

If you intend to maintain the package within pkg-multimedia, please
use quilt instead of dpatch. It is simpler and what all pkg-multimedia
packages should use.

>
> Problem is in debian/rules file
>
>
> ###########################
>
> #export DH_VERBOSE=1
>
> include /usr/share/dpatch/dpatch.make
>
> configure: configure-stamp
> configure-stamp:
>        dh_testdir
>        # Add here commands to configure the package.
>
>        touch configure-stamp
>
>
> build: build-stamp
>
> build-stamp: $(DPATCH_STAMPFN)
>
> build-stamp: configure-stamp

This is where it is probably wrong. The second build-stamp: line
overrides the first one. You should either remove the configure-stamp
target (since it does nothing) or make $(DPATCH_STAMPFN) a requirement
of configure-stamp.

Saludos,
Felipe Sateler



More information about the pkg-multimedia-maintainers mailing list