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

Joachim Breitner nomeata at debian.org
Wed Jan 20 09:41:37 UTC 2016


Hi,

eek, such fragile bash hackery. Maybe a simply

test -e /usr/include/luajit-2.0/luajit.h

would work better?

Greetings,
Joachim

Am Mittwoch, den 20.01.2016, 10:27 +0100 schrieb John Paul Adrian
Glaubitz:
> 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
> 
-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: F0FBF51F
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20160120/8464220f/attachment-0001.sig>


More information about the Pkg-haskell-maintainers mailing list