Bug#811554: closed by Joachim Breitner <nomeata at debian.org> (Bug#811554: fixed in haskell-hslua 0.4.1-5)

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Jan 20 09:27:17 UTC 2016


On 01/20/2016 10:09 AM, Joachim Breitner wrote:
> Can you provide a patch that simply checks whether libluajit-5.1-dev is
> installed, so that we don’t have this error-prone redundancy?

Maybe this could work?

--- old/haskell-hslua-0.4.1/debian/rules	2015-12-22 10:28:34.000000000 +0100
+++ new/haskell-hslua-0.4.1/debian/rules	2016-01-20 10:25:04.224031898 +0100
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f

-ifneq (,$(filter $(DEB_BUILD_ARCH),arm64 ppc64el s390x))
+ifeq (0,$(shell dpkg -l | grep libluajit-5.1-dev | grep ^ii > /dev/null
; echo $$?))
 DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=-luajit
 endif

I haven't tested it though yet, so please don't apply it right away.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-------------- next part --------------
A non-text attachment was scrubbed...
Name: haskell-hslua-disable-luajit2.diff
Type: text/x-diff
Size: 1050 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20160120/456495f9/attachment.diff>


More information about the Pkg-haskell-maintainers mailing list