This is an automated email from the git hooks/post-receive script. gregoa pushed a commit to branch master in repository libinline-java-perl.
commit 238d3c8281f544c645c0c5041ef76da5deebf4a0 Author: gregor herrmann <gre...@debian.org> Date: Sat Sep 10 22:43:28 2016 +0200 debian/rules: don't build JNI extension on some architectures where it seems to have problems. Closes: #754755 --- debian/rules | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/rules b/debian/rules index 11e4330..78c9752 100755 --- a/debian/rules +++ b/debian/rules @@ -49,8 +49,15 @@ CDBS_DEPENDS_$(pkg) = $(deps) export JAVA_HOME=/usr/lib/jvm/default-java +DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH) +NO_JNI_ARCH = hppa hurd-i386 mips mipsel +ifeq (,$(filter $(DEB_HOST_ARCH), $(NO_JNI_ARCH))) # Have testsuite use JNI export PERL_INLINE_JAVA_JNI=1 +else +# Don't build JNI extension +DEB_MAKEMAKER_USER_FLAGS = BUILD_JNI=0 +endif # Put aside upstream cruft during build DEB_UPSTREAM_CRUFT_MOVE = t/t13.txt @@ -58,6 +65,7 @@ DEB_UPSTREAM_CRUFT_MOVE = t/t13.txt # Have testsuite use the C locale's decimal point DEB_MAKE_CHECK_TARGET += LC_NUMERIC=C +ifeq (,$(filter $(DEB_HOST_ARCH), $(NO_JNI_ARCH))) binary-post-install/$(pkg):: chrpath -d $(cdbs_curdestdir)$(perlpath)/auto/Inline/Java/JNI/JNI.so @@ -67,3 +75,4 @@ binary-post-install/$(pkg):: $(cdbs_curdestdir)$(perlpath)/Inline/Java/*.jar dh_link usr/share/$(pkg)/InlineJavaServer.jar $(perlpath)/Inline/Java/InlineJavaServer.jar \ usr/share/$(pkg)/InlineJavaUser.jar $(perlpath)/Inline/Java/InlineJavaUser.jar +endif -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libinline-java-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits