summaryrefslogtreecommitdiff
path: root/p/haskell-hslua/debian/patches/system-lua.diff
diff options
context:
space:
mode:
Diffstat (limited to 'p/haskell-hslua/debian/patches/system-lua.diff')
-rw-r--r--p/haskell-hslua/debian/patches/system-lua.diff19
1 files changed, 19 insertions, 0 deletions
diff --git a/p/haskell-hslua/debian/patches/system-lua.diff b/p/haskell-hslua/debian/patches/system-lua.diff
new file mode 100644
index 000000000..8d144d28f
--- /dev/null
+++ b/p/haskell-hslua/debian/patches/system-lua.diff
@@ -0,0 +1,19 @@
+--- a/hslua.cabal
++++ b/hslua.cabal
+@@ -23,14 +23,14 @@
+
+ flag system-lua
+ description: Use the system-wide lua instead of the bundled copy
+- default: False
++ default: True
+
+ Library
+ Build-depends: base==4.*, mtl >= 2.1
+ Exposed-modules: Scripting.Lua, Scripting.Lua.ConfigFile
+ Hs-source-dirs: src
+ if flag(system-lua)
+- Pkgconfig-depends: lua
++ Pkgconfig-depends: lua5.1
+ C-sources: cbits/ntrljmp.c
+ Include-dirs: cbits
+ else