summary refs log tree commit diff
path: root/gnu/packages/patches/khmer-use-libraries.patch
diff options
context:
space:
mode:
authorBen Woodcroft <donttrustben@gmail.com>2016-06-15 12:21:20 +1000
committerBen Woodcroft <donttrustben@gmail.com>2016-06-27 21:35:16 +1000
commit94ff31572d37e9e49813b2e1fddd323cde0103e4 (patch)
treedb5b3d2037dc988568be8f8a2ebee0d7797f5c8b /gnu/packages/patches/khmer-use-libraries.patch
parent9ded1457172d38960258c8a2b695ffb0d33ad8c9 (diff)
downloadguix-94ff31572d37e9e49813b2e1fddd323cde0103e4.tar.gz
gnu: Add khmer.
* gnu/packages/bioinformatics.scm (khmer): New variable.
* gnu/packages/patches/khmer-use-libraries.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
Diffstat (limited to 'gnu/packages/patches/khmer-use-libraries.patch')
-rw-r--r--gnu/packages/patches/khmer-use-libraries.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/khmer-use-libraries.patch b/gnu/packages/patches/khmer-use-libraries.patch
new file mode 100644
index 0000000000..47d163a99a
--- /dev/null
+++ b/gnu/packages/patches/khmer-use-libraries.patch
@@ -0,0 +1,16 @@
+Change setup.cfg so that the bundled zlib and bzip2 are not used.  This cannot
+currently be achieved using "--library z,bz2" as instructed in the setup.py.
+
+diff --git a/setup.cfg b/setup.cfg
+index c054092..080992e 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -1,7 +1,7 @@
+ [build_ext]
+ define = SEQAN_HAS_BZIP2,SEQAN_HAS_ZLIB
+ undef = NO_UNIQUE_RC
+-# libraries = z,bz2
++libraries = z,bz2
+ ## if using system libraries
+ include-dirs = lib:third-party/zlib:third-party/bzip2:third-party/seqan/core/include:third-party/smhasher
+ # include-dirs = lib