summaryrefslogtreecommitdiff
path: root/p/haskell-hslua/debian/patches/system-lua.diff
diff options
context:
space:
mode:
authorClint Adams <clint@debian.org>2013-11-10 00:12:41 +0400
committerClint Adams <clint@debian.org>2013-11-10 00:12:41 +0400
commit074bcc5a2352ded7c93e927d41db206edcf363c0 (patch)
treed02bd805ae5eadcd947deb6964604f2384e30468 /p/haskell-hslua/debian/patches/system-lua.diff
parentb21a54021b4593ce796883f6c943f28ec3ded82c (diff)
downloadDHG_packages-074bcc5a2352ded7c93e927d41db206edcf363c0.tar.gz
haskell-hslua: Initial Check-In
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