On Wed, 12 Oct 2016 08:56:04 +0200, Stephen Kitt <sk...@debian.org> wrote:
> On Mon, 10 Oct 2016 20:12:05 +0100, Chris Lamb <la...@debian.org> wrote:
> > qjoypad fails to build from source in unstable/amd64:  
> 
> Thanks for filing this, the following patch fixes the build:
> 
> --- debian/rules.orig 2016-10-12 08:50:16.827628161 +0200
> +++ debian/rules      2016-10-12 08:50:43.104370126 +0200
> @@ -20,6 +20,6 @@
>       rm -f src/*.png
>  
>  override_dh_auto_install:
> -     dh_auto_install --destdir=debian/tmp
> +     dh_auto_install --destdir=debian/tmp -- INSTALL_ROOT=$${PWD}/debian/tmp
>       install -D -m 0644 debian/qjoypad.desktop 
> debian/tmp/usr/share/applications/qjoypad.desktop 

That was based on an older incarnation of debian/rules; the correct patch is

--- a/debian/rules
+++ b/debian/rules
@@ -14,4 +14,4 @@ export QMAKE_LFLAGS_DEBUG="$(shell dpkg-buildflags --get 
LDFLAGS)"
        dh $@ --sourcedirectory=src

 override_dh_auto_install:
-       dh_auto_install --destdir=debian/tmp
+       dh_auto_install --destdir=debian/tmp -- INSTALL_ROOT=$${PWD}/debian/tmp

Regards,

Stephen

Attachment: pgpZ16kgto8Jb.pgp
Description: OpenPGP digital signature

Reply via email to