[Pkg-haskell-commits] darcs: haskell-hashable: Borrow debian/rules from haskell-bindings-gpgme to build with LFS flags.
Colin Watson
cjwatson at debian.org
Sat May 9 20:01:15 UTC 2015
Sat May 9 19:56:47 UTC 2015 Colin Watson <cjwatson at debian.org>
* Borrow debian/rules from haskell-bindings-gpgme to build with LFS flags.
M ./changelog +1
M ./rules +5
Sat May 9 19:56:47 UTC 2015 Colin Watson <cjwatson at debian.org>
* Borrow debian/rules from haskell-bindings-gpgme to build with LFS flags.
diff -rN -u old-haskell-hashable/changelog new-haskell-hashable/changelog
--- old-haskell-hashable/changelog 2015-05-09 20:01:15.520655053 +0000
+++ new-haskell-hashable/changelog 2015-05-09 20:01:15.524655055 +0000
@@ -3,6 +3,7 @@
* Drop patch to disable mmap on some architectures; instead, call it
through a C helper, fixing problems with the type of the offset argument
on some architectures.
+ * Borrow debian/rules from haskell-bindings-gpgme to build with LFS flags.
-- Colin Watson <cjwatson at debian.org> Sat, 09 May 2015 20:53:09 +0100
diff -rN -u old-haskell-hashable/rules new-haskell-hashable/rules
--- old-haskell-hashable/rules 2015-05-09 20:01:15.520655053 +0000
+++ new-haskell-hashable/rules 2015-05-09 20:01:15.524655055 +0000
@@ -1,5 +1,10 @@
#!/usr/bin/make -f
+LFS_CFLAGS := $(shell getconf LFS_CFLAGS)
+GHC_LFSFLAGS := $(LFS_CFLAGS) $(patsubst %,-optc %,$(LFS_CFLAGS))
+
+DEB_SETUP_GHC_CONFIGURE_ARGS = --hsc2hs-options="$(LFS_CFLAGS)" --gcc-options="$(LFS_CFLAGS)" --ghc-options="$(GHC_LFSFLAGS)"
+
DEB_ENABLE_TESTS := yes
include /usr/share/cdbs/1/rules/debhelper.mk
More information about the Pkg-haskell-commits
mailing list