[SCM] libbluray/master: invoke javahelper sequence only on linux

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Thu Aug 18 20:53:43 UTC 2011


The following commit has been merged in the master branch:
commit 6a566e1a0e30dd5bfb086efbd86c50a8d1eddec4
Author: Reinhard Tartler <siretart at tauware.de>
Date:   Thu Aug 18 22:20:17 2011 +0200

    invoke javahelper sequence only on linux
    
    seems that java helper doesn't ignore "Arch: linux-any" packages on
    non Linux architectures, which would make the package build fail there.

diff --git a/debian/rules b/debian/rules
index 97b92ba..8bcd826 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,8 +13,13 @@ endif
 # Set CFLAGS to DEB_CFLAGS
 CFLAGS=$(DEB_CFLAGS)
 
+ifneq (,$(findstring linux,$(DEB_BUILD_ARCH_OS)))
 %:
 	dh --with javahelper,autoreconf $@
+else
+%:
+	dh --with autoreconf $@
+endif
 
 override_dh_auto_configure:
 	dh_auto_configure -- $(confflags)

-- 
libbluray packaging



More information about the pkg-multimedia-commits mailing list