Commit 2baa9b43 authored by Clint Adams's avatar Clint Adams
Browse files

hslua: use lua 5.3 on all arches (and luajit on none). closes: #811554.

parent 25978640
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
haskell-hslua (0.9.5.1-2) unstable; urgency=medium

  * Use lua 5.3 on all arches (and luajit on none).  closes: #811554.

 -- Clint Adams <clint@debian.org>  Tue, 17 Apr 2018 09:49:12 -0400

haskell-hslua (0.9.5.1-1) unstable; urgency=medium

  [ Ilias Tsitsimpis ]
+2 −4
Original line number Diff line number Diff line
@@ -10,8 +10,7 @@ Build-Depends:
 ghc (>= 8),
 ghc-prof,
 haskell-devscripts (>= 0.13),
 liblua5.1-0-dev,
 libluajit-5.1-dev [amd64 armel armhf i386 mips mipsel powerpc hurd-i386 kfreebsd-i386],
 liblua5.3-dev,
 pkg-config,
 libghc-exceptions-dev (>= 0.8),
 libghc-exceptions-dev (<< 0.10),
@@ -44,8 +43,7 @@ X-Description: Lua language interpreter embedding in Haskell
Package: libghc-hslua-dev
Architecture: any
Depends:
 liblua5.1-0-dev,
 libluajit-5.1-dev [amd64 armel armhf i386 mips mipsel powerpc hurd-i386 kfreebsd-i386],
 liblua5.3-dev,
 ${haskell:Depends},
 ${misc:Depends},
 ${shlibs:Depends},
+4 −4
Original line number Diff line number Diff line
#!/usr/bin/make -f

ifeq (,$(filter $(DEB_BUILD_ARCH),amd64 armel armhf i386 mips mipsel powerpc hurd-i386 kfreebsd-i386))
#ifeq (,$(filter $(DEB_BUILD_ARCH),amd64 armel armhf i386 mips mipsel powerpc hurd-i386 kfreebsd-i386))
DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=-luajit
else
DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=luajit
endif
#else
#DEB_SETUP_GHC_CONFIGURE_ARGS += --flags=luajit
#endif

# To avoid duplicating the architecture data from debian/control, check for
# existence of luajit here. But this would do the wrong thing in a hypothetical